while True:
try:
a=int(input())
A=list(sorted(map(int,input().split(' '))))
for b in range(a-1):
print(A[b],end=(' '))
print(A[-1])
except EOFError:
break