Three Numbers

No attempts yetTime limit1sMemory limit256 MB

Problem

Given three integers AA, BB, and CC, print the second largest value.

Input

One line with three integers AA, BB, CC (1A,B,C1001 \leq A, B, C \leq 100).

Output

Print the second largest integer.