Score : $100$ points
Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.
Input is given from Standard Input in the following format:
$a$ $b$ $c$
If $b$ is the median of the given integers, then print Yes
; otherwise, print No
.
5 3 2
Yes
The given integers are $2, 3, 5$ when sorted in ascending order, of which $b$ is the median.
2 5 3
No
$b$ is not the median of the given integers.
100 100 100
Yes