#include <iostream>
using namespace std;
const int r1 = 3;
const int r2 = 5;
int main() {
double x, y;
cin >> x >> y;
cout << (x > 0 && ((x + 0.5) * (x + 0.5) + y * y >= r1 * r1) && (x * x + y * y <= r2 * r2) ? "YES" : "NO");
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmNvbnN0IGludCByMSA9IDM7CmNvbnN0IGludCByMiA9IDU7CiAKaW50IG1haW4oKSB7Cglkb3VibGUgeCwgeTsKCWNpbiA+PiB4ID4+IHk7Cgljb3V0IDw8ICh4ID4gMCAmJiAoKHggKyAwLjUpICogKHggKyAwLjUpICArIHkgKiB5ID49IHIxICogcjEpICYmICh4ICogeCArIHkgKiB5IDw9IHIyICogcjIpID8gIllFUyIgOiAiTk8iKTsKCXJldHVybiAwOwp9