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