tvoya_mamka=[1,1,2,3,5,6,6,7,8,8]
tvoi_papka=set()
for mamka in tvoya_mamka:
if tvoya_mamka.count(mamka)<2:
tvoi_papka.add(mamka)
for papka in tvoi_papka:
tvoya_mamka.remove(papka)
print(tvoya_mamka)
dHZveWFfbWFta2E9WzEsMSwyLDMsNSw2LDYsNyw4LDhdCnR2b2lfcGFwa2E9c2V0KCkKCmZvciBtYW1rYSBpbiB0dm95YV9tYW1rYToKICAgIGlmIHR2b3lhX21hbWthLmNvdW50KG1hbWthKTwyOgogICAgICAgIHR2b2lfcGFwa2EuYWRkKG1hbWthKQpmb3IgcGFwa2EgaW4gdHZvaV9wYXBrYToKICAgIHR2b3lhX21hbWthLnJlbW92ZShwYXBrYSkKCnByaW50KHR2b3lhX21hbWthKQ==