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