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