#include <iostream>
using namespace std;
const int Mx = 1e7 + 10;
const ll Mod = 1e9 + 7;
const int INF = -0x3f3f3f3f;
double x, s;
double a[Mx], sum[Mx];
int main()
{
Buff;
cin >> s >> x;
if (s + x == 7)
{
cout << "y" << endl;
return 0;
}
a[0] = 7;
for (int i = 1; i <= 100; i++)
{
a[i] = a[i - 1] * 0.980000;//打表算出每一秒跑的距离
sum[i] = sum[i - 1] + a[i];//前缀和
}
for (int i = 1; i <= 100; i++)
{
if (sum[i] >= s)//看下一秒能跑不能
{
if (x >= a[i+1])
cout << "y" << endl;
else
cout << "n" << endl;
break;
}
}
return 0;
}