#include using namespace std; const int dx[] = {1,1,2,2,-2,-2,-1,-1,0}; const int dy[] = {-2,2,-1,1,-1,1,-2,2,0}; int main(){ long long int x,y; cin >> x >> y; for(int i = 0; i < 9; i++){ for(int j = 0; j < 9; j++){ for(int k = 0; k < 9; k++){ int xx = dx[i] + dx[j] + dx[k]; int yy = dy[i] + dy[j] + dy[k]; if(x == xx and y == yy){ cout << "YES" << endl; return 0; } } } } cout << "NO" << endl; return 0; }