Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. def unique(lst):
  2.     ones = 0
  3.     twos = 0
  4.     for x in lst:
  5.         twos |= ones & x
  6.         ones ^= x
  7.         not_threes = ~(ones & twos)
  8.         ones &= not_threes
  9.         twos &= not_threes
  10.     return ones