#include using namespace std; typedef long long int ll; typedef pair P; typedef vector VI; typedef vector VVI; const ll MOD = 1000000007; const ll INF = 1e18; #define REP(i,n) for(int i=0;i> a >> b; b/=GCD(a,b); if(b%5==0||b%2==0||b==1) cout << "No" << endl; else cout << "Yes" << endl; return 0; }