#include <iostream>
#include <math.h>
using namespace std;
const double a = 2;
const double b = 1.5;
const double c = 5;
const double d = 5.5;
int main(){
double x, y;
cin >> x >> y;
x -= 0.5;
cout << (fabs(y) > c || fabs(x) > d || (x < -b && y > -a) || (x > b && y < a) ? "NO" : "YES");
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgZG91YmxlIGEgPSAyOwpjb25zdCBkb3VibGUgYiA9IDEuNTsKY29uc3QgZG91YmxlIGMgPSA1Owpjb25zdCBkb3VibGUgZCA9IDUuNTsKCmludCBtYWluKCl7Cglkb3VibGUgeCwgeTsKCWNpbiA+PiB4ID4+IHk7Cgl4IC09IDAuNTsKCWNvdXQgPDwgKGZhYnMoeSkgPiBjIHx8IGZhYnMoeCkgPiBkIHx8ICh4IDwgLWIgJiYgeSA+IC1hKSB8fCAoeCA+IGIgJiYgeSA8IGEpID8gIk5PIiA6ICJZRVMiKTsKCXJldHVybiAwOwp9