from random import randint

def shuffle(list):
  for i in range(len(list)):
    j = randint(0, i)
    list[i], list[j] = list[j], list[i]
  return list

if __name__ == '__main__':
  for i in range(10):
    print shuffle([1,2,3])
