~/algor $ cat problems/eng-kichik-va-eng-katta
Smallest and largest
Easy
1000 ms
64 MB
18%
Three integers $A$, $B$ and $C$ are given. Print the smallest of them first, then the largest.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One line with two integers: the smallest and the largest.
Note
$-10^{9} \le A, B, C \le 10^{9}$
Examples
Input #1
1 2 3
Output #1
1 3
Input #2
3 1 2
Output #2
1 3