first_move = input() second_move = 'oda' if first_move == 'yukiko' else 'yukiko' list = [] for x in range(8): list.append(input().count('.')) if sum(list) % 2 == 0: print(first_move) else: print(second_move)