#D9276. Max
Max
Max
For given three integers , print the minimum value and the maximum value.
Constraints
Input
The input is given in the following format.
Three integers are given in a line.
Output
Print the minimum and maximum values separated by a space in a line.
Example
Input
4 5 3
Output
3 5
inputFormat
Input
The input is given in the following format.
Three integers are given in a line.
outputFormat
Output
Print the minimum and maximum values separated by a space in a line.
Example
Input
4 5 3
Output
3 5
样例
4 5 3
3 5