#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); ll n, k; cin >> n >> k; if(k <= n){ cout << "y\n"; return 0; } string s = "yuusaan"; vector dp = {7, 31, 127, 511, 2047}; while(dp.back() <= 1'000'000'000'000'000ll){ dp.push_back(dp.back() * 4 + 3); } ll d = max(0ll, n - (ll)dp.size()); n -= d + 1; k -= d + 1; for(int i = n; i >= 1; i--){ if(k == 0){ cout << "y\n"; return 0; } if(k == 2 * dp[i - 1] + 1){ cout << "s\n"; return 0; } if(k == dp[i] - 1){ cout << "n\n"; return 0; } k %= 2 * dp[i - 1] + 1; k--; k %= dp[i - 1]; } cout << s[k] << '\n'; }