import re import sys lines = sys.stdin.readlines() N = int(lines[0]) nums = [] for i in range(N): nums.append(int(lines[i+1])) nums = list(set(nums)) nums = sorted(nums,reverse=False) for i in nums: print(i)