Toggle navigation
CSUOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1230--消消乐
1230: 消消乐
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Solved: 1
Submit: 538
Statistics
Description
hx073269和PIPI在玩消消乐游戏,他们可以把m个方块变成1个方块。在开始游戏时有n个方块,他们能否最后消成只剩1个方块。
Input
输入两个整数n,m(1 ≤ n, m ≤ 10^9)
Output
如果能,输出"Yes",否则输出"No"
Sample Input
Copy
10 7
Sample Output
Copy
No
Source/Category