#abc195a. [abc195_a]Health M Death
[abc195_a]Health M Death
Problem Statement
Takahashi, the magician, is fighting with a monster.
His magic can defeat a monster whose health is a multiple of . It has no effect on a monster whose health is not a multiple of .
Can his magic defeat a monster whose health is ?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
If Takahashi's magic can defeat the monster, print Yes
; otherwise, print No
.
Sample Input 1
10 120
Sample Output 1
Yes
Takahashi's magic can defeat a monster whose health is a multiple of .
is a multiple of , so his magic can defeat the monster with health .
Sample Input 2
10 125
Sample Output 2
No
is not a multiple of , so his magic cannot defeat the monster with health .