s = input() cnt = s == "oda" for i in range(8): l = input() cnt += l.count("w") + l.count("b") print(["yukiko", "oda"][cnt % 2])