#abc253a. [abc253_a]Median?
[abc253_a]Median?
Problem Statement
Given integers , , and , determine if is the median of these integers.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If is the median of the given integers, then print Yes
; otherwise, print No
.
Sample Input 1
5 3 2
Sample Output 1
Yes
The given integers are when sorted in ascending order, of which is the median.
Sample Input 2
2 5 3
Sample Output 2
No
is not the median of the given integers.
Sample Input 3
100 100 100
Sample Output 3
Yes