int main()
{
float x;
float y;
std::cin >> x;
std::cin >> y;
if ((x * x + y * y <= 1) or (x<=1 and x>=0 and y<=1 and y>=0))
std::cout << "YES";
}
else
std::cout << "NO";
int main()
{
float x;
float y;
std::cin >> x;
std::cin >> y;
if ((x * x + y * y <= 1) or (x<=1 and x>=0 and y<=1 and y>=0))
{
std::cout << "YES";
}
else
{
std::cout << "NO";
}
}