Easy
Sort the List
Read a list of integers and print them sorted from smallest to largest, then from largest to smallest.
Input
One line of integers.
Output
Two lines.
Sample 1
Input
3 1 2
Output
1 2 3 3 2 1
Sample 2
Input
5
Output
5 5
Output appears here