题目描述
Problem Description
Given three integers \( A, B, C \), output the second largest number among them.
Input Format
The input is given from the standard input in the following format:
\( A \) \( B \) \( C \)
Output Format
Output the second largest number among \( A, B, C \).
Sample Input and Output
Sample Input #1
7 5 3
Sample Output #1
5
Sample Input #2
1 3 3
Sample Output #2
3
Sample Input #3
100 100 100
Sample Output #3
100
Sample Input #4
29 83 1
Sample Output #4
29
Notes/Hints
Constraints
- \( 1 \leq A \leq 100 \).
- \( 1 \leq B \leq 100 \).
- \( 1 \leq C \leq 100 \).
Sample Explanation 1
Among \( 7, 5, 3 \), output the second largest \( 5 \).
Sample Explanation 2
There might be two equal integers given. Sorting \( 1, 3, 3 \) in descending order gives \( 3, 3, 1 \), so output the second largest \( 3 \).
Sample Explanation 3
All given integers might be equal.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
7 5 3
样例输出
5