import sys N = int(input()) a = [int(sys.stdin.readline()) for _ in range(N)] a.sort() [print(a[_]) for _ in range(N)]