#include using namespace std; int main(){ int sy, sx; cin >> sy >> sx; vector> dir = {{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}}; function dfs = [&](int y, int x, int d){ if(y == sy && x == sx)return true; if(d == 3)return false; for(auto &&p:dir){ if(dfs(y + p.first, x + p.second, d + 1))return true; } return false; }; cout << (dfs(0, 0, 0) ? "YES" : "NO") << endl; }