The Second Largest Integer
InterviewTime limit2sMemory limit1024 MB
Given three integers A, B, and C, output the second largest value among them.
- Level
Easy2 of 10
- Topics
- Implementation, Sorting
- Solved
- No attempts yet
Problem
Three integers A, B, C are given. Output the second largest among them.
Input
The input is given from standard input in the following format.
A B C
Output
Output the second largest among A, B, C.
Constraints
1 ≤ A ≤ 100.1 ≤ B ≤ 100.1 ≤ C ≤ 100.