#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); long long N,K; cin >> N >> K; string s = "yuusaan"; if(N == 1 || K <= 7){ cout << s.at(K-1) << endl; return 0; } vector len(50); long long add = 6,l = 1; for(int i=0; i<50; i++){ len.at(i) = l; l += add; add *= 2; } auto dfs = [&](auto dfs,int level,long long left,bool y = true) -> void { if(level == 0){ if(y) cout << "y" << endl; else cout << "n" << endl; return; } if(left > len.at(level-1)){ left -= len.at(level-1); if(left <= 5){ cout << s.at(left) << endl; return; } left -= 5; dfs(dfs,level-1,left,false); } else dfs(dfs,level-1,left,true); }; dfs(dfs,min(50LL,N),K); }