~/algor $ cat problems/ortadagi-son
The middle number
Easy
1000 ms
64 MB
19%
Three integers $A$, $B$ and $C$ are given. Find the number that is in the middle by value: the one in second place when the numbers are arranged in ascending order.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One integer — the middle one.
Note
$-10^{9} \le A, B, C \le 10^{9}$
Examples
Input #1
1 2 3
Output #1
2
Input #2
3 1 2
Output #2
2