#define _USE_MATH_DEFINES #include using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int a, b; cin >> a >> b; if (a % b) { cout << "NO\n"; } else { cout << "YES\n"; } return 0; }