9732: ABC195 —— A - Health M Death
[Creator : ]
Description
Takahashi, the magician, is fighting with a monster.
His magic can defeat a monster whose health is a multiple of $M$. It has no effect on a monster whose health is not a multiple of $M$.
Can his magic defeat a monster whose health is $H$?
His magic can defeat a monster whose health is a multiple of $M$. It has no effect on a monster whose health is not a multiple of $M$.
Can his magic defeat a monster whose health is $H$?
Input
Input is given from Standard Input in the following format:
```
$M$ $H$
```
```
$M$ $H$
```
Output
If Takahashi's magic can defeat the monster, print `Yes`; otherwise, print `No`.
Constraints
- $1 \leq M \leq 1000$
- $1 \leq H \leq 1000$
- $M$ and $H$ are integers.
- $1 \leq H \leq 1000$
- $M$ and $H$ are integers.
Sample 1 Input
10 120
Sample 1 Output
Yes
Takahashi's magic can defeat a monster whose health is a multiple of 10.
120 is a multiple of 1010, so his magic can defeat the monster with health 120.
120 is a multiple of 1010, so his magic can defeat the monster with health 120.
Sample 2 Input
10 125
Sample 2 Output
No
125 is not a multiple of 10, so his magic cannot defeat the monster with health 125.