Minimum and Maximum
Print the smallest and the largest of integers.
Input
The first line has , the second line the integers.
Output
Minimum and maximum separated by a space.
Constraints
Sample 1
Input
4 4 -2 9 0
Output
-2 9
Print the smallest and the largest of integers.
The first line has , the second line the integers.
Minimum and maximum separated by a space.
Input
4 4 -2 9 0
Output
-2 9