#include using namespace std; int dx[] = {-2, - 2, -1, -1, 1, 1, 2, 2}, dy[] = {-1, 1, -2, 2, - 2, 2, -1, 1}; void dfs(int a, int b, int c, long long d, long long e) { if(b == d && c == e) { cout << "YES" << endl; exit(0); } if(a == 3) return; if(a <= 2) { for(int i = 0; i < 8; i++) { dfs(a + 1, b + dx[i], c + dy[i], d, e); } } } int main(){ ios::sync_with_stdio(false); cin.tie(0); long long x, y; cin >> x >> y; dfs(0, 0, 0, x, y); cout << "NO" << endl; return 0; }