11929 - Reorder (absolute value)   

Description

Given four integer numbers, please rearrange the value of them in increasing order according to their absolute value.

Input

The input has four integer numbers num1, num2, num3, and num4.

Output

Print num1, num2, num3, num4 sequentially, and the output should be in increasing order according to their absolute value.

If the absolute value of numbers are the same, put the negative number in front.

Sample Input  Download

Sample Output  Download

Partial Judge Code

11929.c

Partial Judge Header

11929.h

Tags




Discuss