s = input() b = '' for i in range(8): b += input() b = b.replace('.', '') if len(b) % 2 == 0: print(s) else: print('yukiko' if s == 'oda' else 'oda')