e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 8: December 28 - January 10. Functions. Part 1

Sorting

Sort the array of integers in non-increasing order.

Input

The first line contains number n (1n1000), second line contains n integers, not greater than 2 *109 by absolute value.

Output

Print all numbers in non-increasing order.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
9 2 7 1 2
Output example #1
9 7 2 2 1