#include <iostream>
using namespace std;
int main(void)
{
int s, x;
cin >> s >> x;
double M = 0;
double speed = 7;
bool stop = false;
do
{
if (M >= s - x && M <= s + x)
{
if (stop)
{
cout << 'n' << endl;
break;
}
stop = true;
}
else if (stop)
{
cout << 'y' << endl;
break;
}
else
{
M += speed;
speed *= 0.98;
}
} while (true);
return 0;
}