Sorting in Descending Order#4738

Sorting in Descending Order

1 second
128 megabytes
Easy

Sort an array of integers in non-increasing order.

Input

The first line contains an integer n~(1 \le n \le 1000) — the size of the array. The second line contains integers, each not exceeding 2 \cdot 10^9 in absolute value.

Output

Print the elements of the array in non-increasing order.

Examples

Example 1

Loading
Loading