好像没毛病

a=[]
for i in range(int(input())):
    a.append(int(input()))
for i in sorted(set(a)):
    print(i)