#include <iostream>
#include <cmath>
using namespace std;
int main() {
double x, y;
cin>>x>>y;
if ((abs(x)+y<=4) && (y>=0)){
cout<<"YES";
}
else cout<<"NO";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSB4LCB5OwoJY2luPj54Pj55OwoJaWYgKChhYnMoeCkreTw9NCkgJiYgKHk+PTApKXsKCQljb3V0PDwiWUVTIjsKCX0KCWVsc2UgY291dDw8Ik5PIjsKCXJldHVybiAwOwp9