308351: CF1505D. Xenolith? Hippodrome?
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
D. Xenolith? Hippodrome?time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInput
The input contains two integers $N$, $M$ ($1 \le N \le 1024, 2 \le M \le 16$), separated by a single space.
OutputOutput "YES" or "NO".
ExamplesInput2 3Output
YESInput
3 2Output
NOInput
33 16Output
YESInput
26 5Output
NO
Input
暂时还没有翻译