#108 Median number

   Three different numbers a, b, c are given. Output the median number.

Specifications

   Input

   Numbers a, b, c are integer and do not exceed 1000 by absolute value.

   Output

   Single number - the answer to the problem.

Time Limit: 1 seconds
Balls for the passed test: 9.09091
Complexity: 12%

Example

Example input

11 3 7

Example output

7


Problem URL: http://www.e-olimp.com.ua/en/problems/108