D. Xenolith? Hippodrome?time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInputThe 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".ExamplesInput
2 3
Output
YES
Input
3 2
Output
NO
Input
33 16
Output
YES
Input
26 5
Output
NO
 
2 3

YES 
['*special problem', 'number theory', '*1800']