#P325. 【例55.3】 绝对值排序

【例55.3】 绝对值排序

Description

Input nn (n100n≤100) integers, sort them by their absolute values in descending order, and output the result. It is guaranteed that all numbers have different absolute values.

Input Format

The first number is nn, followed by nn integers.

Output Format

Output the nn integers after sorting.

Sample

3
3 -4 2
-4 3 2