#include using namespace std; int main() { int x, y; cin >> x >> y; x = abs(x); y = abs(y); if ((x + y) % 2 != 0 && x + y < 10 && x < 7 && y < 7)cout << "YES" << endl; else if (x + y == 0 || x + y == 2 || (x + y == 4 && x != 2) || (x > 2 && y>2 && x + y == 6))cout << "YES" << endl; else cout << "NO" << endl; return 0; }