S=input() if S=="oda": T="yukiko" else: T="oda" X=0 for _ in range(8): X+=input().count(".") if X%2: print(T) else: print(S)