from random import randint
a = [1, 2, 3, 4, 1, 3]
b = []
for value in a:
while value in b:
value = randint(1, 11)
b.append(value)
print b
ZnJvbSByYW5kb20gaW1wb3J0IHJhbmRpbnQKCmEgPSBbMSwgMiwgMywgNCwgMSwgM10KYiA9IFtdCgpmb3IgdmFsdWUgaW4gYToKICAgIHdoaWxlIHZhbHVlIGluIGI6CiAgICAgICAgdmFsdWUgPSByYW5kaW50KDEsIDExKQogICAgYi5hcHBlbmQodmFsdWUpCgpwcmludCBi