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