s=input() n=["yukiko","oda"][s=="oda"] c=0 for i in[input()for i in [0]*8]: c+=i.count(".") print([s,n][c&1])