#include #include #include using namespace std; typedef long long int ll; int main(){ int a,b; cin >> a >> b; if(a%b==0){ cout << "YES" << endl; } else{ cout << "NO" << endl; } }