Problem D: 排序(从大到小排)

Problem D: 排序(从大到小排)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

排序(从大到小排)

Input

5  (n个正整数 1<=n<=1000000 )
3 2 1 4 5  (每个数小于1000000)

Output

5 4 3 2 1

Sample Input Copy

1
5

Sample Output Copy

5

HINT

n=int(input())
a=list(map(int,input().split()))
a.sort(reverse=1)
for i in a:
  print(i,end=" ")