#include int main() { int a, b; scanf("%d%d", &a, &b); while (a < 0 || a > 100 || b < 0 || b > 100); puts(a % b ? "NO" : "YES"); return 0; }