#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> n >> z; if(n>=3){ cout << "No" << endl; } else if(n==2){ for(int i=1;1;i++){ int x=z*z-i*i; int y=sqrt(x); if(x<=0) break; if(x==y*y){ cout << "Yes" << endl; return 0; } } cout << "No" << endl; } else{ if(z>=2) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }