a,b=input(),input()
list1 = b.split( )
c = [int(x) for x in list1]
c.sort()
for i in c:
    print(i,end=' ')