l = [] for i in range(int(input())): l.append(int(input())) l.sort() for i in l: print(i)