N,K=map(int,input().split()) K-=1 if K%6 in (0,5): if K//6%2==0: ans="y" else: ans="n" else: ans="uusaa"[K%6-1] print(ans)