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