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