#include<bits/stdc++.h>
using namespace std;
int h,m;
int main()
{
	scanf("%d %d",&m,&h);
	if(h%m==0) printf("Yes");
	else printf("No");
}
#include <bits/stdc++.h>

using namespace std;

int main()
{
	#ifndef ONLINE_JUDGE
		freopen("input.txt", "r", stdin);
		freopen("output.txt", "w", stdout);
	#endif
	int n, w;
	cin >> n >> w;
	cout << n / w;
	return 0;
}