A - 16:9 Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 100

問題文

X ピクセル、縦 Y ピクセルの画像があります。 横の長さと縦の長さの比が 169 であるか、すなわち X:Y=16:9 であるかを判定してください。

制約

  • 1 \leq X \leq 1000
  • 1 \leq Y \leq 1000
  • 入力はすべて整数

入力

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

X Y

出力

横の長さと縦の長さの比が 169 ならば Yes を、そうでないならば No を出力せよ。


入力例 1

800 450

出力例 1

Yes

800 ピクセル、縦 450 ピクセルの画像において、横の長さと縦の長さの比は 169 です。


入力例 2

234 108

出力例 2

No

234 ピクセル、縦 108 ピクセルの画像において、横の長さと縦の長さの比は 169 ではありません。


入力例 3

108 192

出力例 3

No

108 ピクセル、縦 192 ピクセルの画像において、横の長さと縦の長さの比は 169 ではありません。

Score : 100 points

Problem Statement

There is an image with a width of X pixels and a height of Y pixels. Determine whether the ratio of the width to the height is 16 to 9, that is, whether X:Y=16:9.

Constraints

  • 1 \leq X \leq 1000
  • 1 \leq Y \leq 1000
  • All input values are integers.

Input

The input is given from Standard Input in the following format:

X Y

Output

If the ratio of the width to the height is 16 to 9, output Yes; otherwise, output No.


Sample Input 1

800 450

Sample Output 1

Yes

For an image with a width of 800 pixels and a height of 450 pixels, the ratio of the width to the height is 16 to 9.


Sample Input 2

234 108

Sample Output 2

No

For an image with a width of 234 pixels and a height of 108 pixels, the ratio of the width to the height is not 16 to 9.


Sample Input 3

108 192

Sample Output 3

No

For an image with a width of 108 pixels and a height of 192 pixels, the ratio of the width to the height is not 16 to 9.