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