Median number#396

Median number

1 second
128 megabytes
Very easy (≈850)

Three different integers a, b, c are given. Print the median number.

Input

Three integers a, b, c that do not exceed by absolute value.

Output

Print the median among three numbers.

Examples

Example 8

Loading
Loading