S = input() G = ['oda', 'yukiko'][S == 'oda'] c = 0 for _ in range(8): c += input().count('.') print([G, S][c % 2 == 0])