n = int(input())
a = list(map(int, input().split()))
b = sorted(a)
for i in b:
    print(i, end = " ")