#Lutece1872. 悦田币(YTC)

悦田币(YTC)

Migrated from Lutece 1872 悦田币(YTC)

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

以后人类都不用RMB了,都是用悦田币(YTC),学姐姐有AA个面值为11YTC的硬币,和无穷个500500YTC的硬币,学姐姐想要买小裙子,小裙子值NNYTC,学姐姐想知道是否能准确付NNYTC不找零。

Input

输入两个数表示N,AN,A
1N100001\le N\le 10000
0A10000\le A \le 1000

Output

输出Yes或者No

Samples

2018
218
Yes
2763
0
No

Resources

学姐姐的比武招妻