#include <bits/stdc++.h>
using namespace std;
int main(){
    int M, H;
    cin >> M >> H;
    if (H % M == 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
}

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int N,W;
  cin>>N>>W;
  cout<<N/W<<endl;
}
 