s = input() g = ['oda', 'yukiko'][s == 'oda'] y = 0 for _ in range(8): x = input() y += x.count('.') print([s, g][y % 2 != 0])