p1 = input() if p1 == "oda": p2 = "yukiko" else: p2 = "oda" c = 0 for x in range(8): str = input() c += str.count("w") c += str.count("b") if c%2 == 0: print(p1) else: print(p2)