S = raw_input() player = [] if S == 'oda': player = ['oda', 'yukiko'] else: player = ['yukiko', 'oda'] cnt = 0 for i in range(0, 8): B = raw_input() for j in range(0, 8): if B[j] != '.': cnt += 1 print player[cnt%2]