S = input() if S == 'oda': T = 0 else: T = 1 cnt = 0 for _ in range(8): B = input() cnt += 8 - B.count('.') if T ^ (cnt % 2) == 0: print('oda') else: print('yukiko')