name = input() cell = 0 if 'oda' in name: player = ['oda', 'yukiko'] else: player = ['yukiko', 'oda'] for _ in range(8): line = input() cell += (8 - line.count('.')) print(player[cell%2])