#include <bits/stdc++.h> using namespace std; int main() { long long x,y; cin>>x>>y; if(y%2!=0 || y<2*x || y>4*x) cout<<"No"; else cout<<"Yes"; return 0; }
#include using namespace std;
int main() { long long x, y; cin >> x >> y; if(y%2==0 && y>=2x && y<=4x) cout << "Yes"; else cout << "No"; return 0; }
使用您的 蒙青创OJ 通用账户