S = raw_input() board = [] for x in range(8): T = list(raw_input()) board.append(T) cnt = 0 for y in range(8): for x in range(8): if (y == 3): if (x == 3 or x == 4): continue if (y == 4): if (x == 3 or x == 4): continue if (board[y][x] != '.'): cnt += 1 if (cnt % 2 == 1): if (S == "yukiko"): print "oda" else: print "yukiko" else: print S