n=int(input())
s=list(map(int,input().split()))
s.sort()
print(' '.join(map(str, s)))