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