A - Same Side Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 100 点

問題文

東西に真っ直ぐ延びる道路があり、東向きを正とする座標により道路上の位置を表します。

高橋君の家は座標 0、スーパーは座標 A、駅は座標 B にあります。ここで、高橋君の家、スーパー、駅の座標はそれぞれ相異なります。

高橋君の家を基準としてスーパーと駅が同じ方向にあるならば Yes を、そうでないならば No を出力してください。

制約

  • -100 \leq A, B \leq 100
  • A \neq 0
  • B \neq 0
  • A \neq B
  • 入力される値はすべて整数

入力

入力は以下の形式で標準入力から与えられる。

A B

出力

問題文中の指示にしたがって Yes、No のいずれかを出力せよ。


入力例 1

40 -20

出力例 1

No

高橋君の家を基準としてスーパーと駅は反対の方向にあります。


入力例 2

-3 -5

出力例 2

Yes

入力例 3

9 19

出力例 3

Yes

Score : 100 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 0, the supermarket is at coordinate A, and the station is at coordinate B. 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

  • -100 \leq A, B \leq 100
  • A \neq 0
  • B \neq 0
  • A \neq B
  • 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