#include <iostream>
#include <cmath>
using namespace std;
 
int main() {
	double x,y;
	cin>>x>>y;
	cout<<( y >= 2 && x*x + y*y >= 16 && x*x + y*y <= 36 ? "YES" : "NO");
	return 0;
}