#T1011. 绝对值排序

绝对值排序

Description

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

Input Format

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

Output Format

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

3
3 -4 2
-4 3 2

Source

信奥星OJ http://127.0.0.1