#SCCCIE000026. Có phải trung vị? (Median?)

Có phải trung vị? (Median?)

Median?

Source: AtCoder

Problem Statement

Given integers a,b,ca,b,c, determine whether bb is the median of the three values.

Input

One line contains aa, bb, and cc.

Output

Print Yes if bb is the median; otherwise print No.

Subtasks

  • Subtask 1 (100%): 1≤a,b,c≤1001 \le a,b,c \le 100

Examples

Example 1

Input

5 3 2

Output

Yes

Explanation

For the sample values 5, 3, 2, evaluating the conditions in the statement gives Yes. Therefore the program prints the shown output.

Example 2

Input

2 5 3

Output

No

Explanation

For the sample values 2, 5, 3, evaluating the conditions in the statement gives No. Therefore the program prints the shown output.

Example 3

Input

100 100 100

Output

Yes

Explanation

For the sample values 100, 100, 100, evaluating the conditions in the statement gives Yes. Therefore the program prints the shown output.