s = input() n = 0 for i in range(8): for c in input(): if c != '.': n += 1 print('oda' if (s[0] == 'o') ^ (n % 2) else 'yukiko')