N = int(input()) A = [str(i) for i in input().split()] A.sort() A = " ".join(A) print(A)