n=int(input()) l=[] l=[int(i) for i in input().split()] l.sort() for i in l: print(i,end=" ")
To embed this program on your website, copy the following code and paste it into your website's HTML: