#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int flag;
double x,y,a;
cin >> x >> y;
a*a==x*x+y*y;
if (x>=0)
{
if(((y>=0) && (a*a<=36)) || ((y<=0) && (y>=x-6)))
cout << "Yes";
else
cout << "No";
}
else
cout << "No";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKSAKewogaW50IGZsYWc7CiBkb3VibGUgeCx5LGE7CiBjaW4gPj4geCA+PiB5OwogYSphPT14KngreSp5OwogaWYgKHg+PTApCiAgICAgewkKICAgICAJaWYoKCh5Pj0wKSAmJiAoYSphPD0zNikpIHx8ICgoeTw9MCkgJiYgKHk+PXgtNikpKQogCQkJY291dCA8PCAiWWVzIjsKICAgICAgICBlbHNlCiAgICAgICAgCWNvdXQgPDwgIk5vIjsKICAgICB9CiBlbHNlIAogCWNvdXQgPDwgIk5vIjsKcmV0dXJuIDA7Cn0=