#abc253a. [abc253_a]Median?

[abc253_a]Median?

Problem Statement

Given integers aa, bb, and cc, determine if bb is the median of these integers.

Constraints

  • 1leqa,b,cleq1001 \\leq a, b, c \\leq 100
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

aa bb cc

Output

If bb 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 2,3,52, 3, 5 when sorted in ascending order, of which bb is the median.


Sample Input 2

2 5 3

Sample Output 2

No

bb is not the median of the given integers.


Sample Input 3

100 100 100

Sample Output 3

Yes