eolymp
bolt
Try our new interface for solving problems
Problems

Median number

Median number

Time limit 1 second
Memory limit 128 MiB

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

Input data

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

Output data

Print the median among three numbers.

Examples

Input example #1
11 3 7
Output example #1
7