x = [1,2,3,4,5]
x_copy = x[:]
for e in x:
	if x.count(e) == 1:
		x_copy.remove(e)
		
print(x_copy)