Problem B: 【例55.3】 绝对值排序

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:7 Solved:4

Description

输入 $n$($n≤100$) 个整数,按照绝对值从大到小排序后输出。题目保证所有的数的绝对值都不相等。

Input

第一个数字为 $n$,接着是 $n$ 个整数。

Output

输出这 $n$ 个整数排序后的结果。

Sample Input Copy

3
3 -4 2

Sample Output Copy

-4 3 2