beecrowd | 1042

Simple Sort

Adapted by Neilor Tonin, URI Brazil

Timelimit: 1

Read three integers and sort them in ascending order. After, print these values in ascending order, a blank line and then the values in the sequence as they were readed.

Input

The input contains three integer numbers.

Output

Present the output as requested above.

Input Sample Output Sample

7 21 -14

-14
7
21

7
21
-14

-14 21 7

-14
7
21

-14
21
7