import sys input_list = [] for index, line in enumerate(sys.stdin): if index == 0: continue input_list.append(int(line)) input_dict = {} input_list = sorted(list(input_dict.fromkeys(input_list))) for item in input_list: print(item)