s = input() y = "yukiko" o = "oda" B = [list(input()) for _ in range(8)] b, w = 0, 0 for i in range(8): for j in range(8): if B[i][j] == "b": b += 1 elif B[i][j] == "w": w += 1 if (b+w) % 2 == 0: if s == "yukiko": print(y) else: print(o) else: if s == "yukiko": print(o) else: print(y)