https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0?tpId=37&tqId=21226&rp=0&ru=/ta/huawei&qru=/ta/huawei/question-ranking
n=int(raw_input())a=[]for i in range(n): a.append(int((raw_input()))a.sort()b=[]for i in a: if i not in b: b.append(i)for i in b: print i