def test_solve():
l = [1,2,4,2,4,3]
m = {}
ans = []
for i in l:
if m.get(i):
continue
else:
m[i] = True
ans.append(i)
print(ans)
def test_solve():
l = [1,2,4,2,4,3]
m = {}
ans = []
for i in l:
if m.get(i):
continue
else:
m[i] = True
ans.append(i)
print(ans)