d=[] for j in int(input()): d.append(int(input())) f=[] for b in d: if not b in d: f.append(b) print(f)