Three integers a, b, c are given, each of which satisfies |a|, |b|, |c| \leq 1000.
Print the median among the three numbers.
Example 8