s = input() p = 0 for i in range(8): p += input().count('.') if p % 2 == 0: print(s) elif s == 'yukiko': print('oda') else: print('yukiko')