input() for i in sorted(map(int,input().split()))[::-1]:print(i,end=' ')