n = input()
list = []
for i in range(eval(n)):
    list.append(input())
ls = sorted(list)
for i in range(len(ls)):
    print(ls[i],end='\n')