[ABC485A] 同侧判定 (Same Side)
Score : points
Problem Statement
There is a road that runs straight east and west, and positions on the road are represented by coordinates whose positive direction is east.
Takahashi's house is at coordinate , the supermarket is at coordinate , and the station is at coordinate . Here, the coordinates of Takahashi's house, the supermarket, and the station are pairwise distinct.
Print Yes if the supermarket and the station are in the same direction from Takahashi's house, and No otherwise.
Constraints
-
-
-
-
-
All input values are integers.
Input
The input is given from Standard Input in the following format:
$A$ $B$
Output
Print Yes or No according to the instructions in the problem statement.
Sample Input 1
40 -20
Sample Output 1
No
The supermarket and the station are in opposite directions from Takahashi's house.
Sample Input 2
-3 -5
Sample Output 2
Yes
Sample Input 3
9 19
Sample Output 3
Yes