#include <iostream>
#include <cmath>
using namespace std;
int main() {
double x,y;
cin >> x >> y;
if (x>=0 && y>=0 && (sqrt(x*x+y*y)<=6) && (y>=(3-x))){
cout << "YES";
}
else cout << "NO";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSB4LHk7CgljaW4gPj4geCA+PiB5OwoJaWYgKHg+PTAgJiYgeT49MCAmJiAoc3FydCh4KngreSp5KTw9NikgJiYgKHk+PSgzLXgpKSl7CgkJY291dCA8PCAiWUVTIjsKCX0KICAgIGVsc2UgY291dCA8PCAiTk8iOwoKCXJldHVybiAwOwp9