N, K = map(int, input().split()) if N >= K: exit(print("y")) K -= 1 A = [(1, 2, 1, 2, 1)] B = [7] for _ in range(60): a, b, c, d, e = A[-1] f, g, h, i, j = a, 0, c, 0, e f += b+d h += b+d j += b+d g += (b+d)*2 i += (b+d)*2 A.append((f, g, h, i, j)) B.append(f+g+h+i+j) cnt = min(N-60, K) if 1 <= cnt: N -= cnt K -= cnt while 2 <= N: nowc = B[N-1] prec = B[N-2] if K == 0: print("y") break if K == prec*2+1: print("s") break if K == nowc-1: print("n") break if K < prec*2+1: K -= 1 K %= prec else: K -= prec*2+2 K %= prec N -= 1 else: print("yuusaan"[K])