Problem
You are given $3$ integers $A, B, C$. Output the $2$-nd largest number among them.
Constraints
- $1 \le A \le 100$.
- $1 \le B \le 100$.
- $1 \le C \le 100$.
Input
The input is given from Standard Input in the following format:
A B C
Output
Output the $2$-nd largest number among $A, B, C$.
Sample Input and Output
Sample Input 1
7 5 3
Sample Output 1
5
- Output $5$, which is the $2$-nd largest among $7, 5, 3$.
Sample Input 2
1 3 3
Sample Output 2
3
- Among the given integers, $2$ of them may be equal.
- When $1, 3, 3$ are arranged in descending order, they are $3, 3, 1$, so output $3$, which is the $2$-nd largest.
Sample Input 3
100 100 100
Sample Output 3
100
- All of the given integers may be equal.
Sample Input 4
29 83 1
Sample Output 4
29