#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;
}