#include<bits/stdc++.h>
using namespace std;//%d 用于读取整数,%f 用于读取浮点数,%c 用于读取单个字符,%s 用于读取字符串。
int main(){
double v,d=0.0,num=0,cha=0,s,x;
cin>>s>>x;
v=7.0;
if(x>s){
num=x-s;
}
for(int i=1;;){
if(d>=s-x){
if(s-x>0){
cha=d-(s-x);
}
cha=(2*x-num)-cha;
cout<<v<<cha;
if(cha/(0.98*v)<1){
cout<<'n';
}
else cout<<'y';
break;
}
v*=0.98;
d+=v;
}
return 0;
}