import sys def input(): return sys.stdin.readline().rstrip() def main(): S = input() B = [input() for i in range(8)] c = sum(b.count('.') for b in B) if (c % 2 == 0) == (S == 'oda'): print('oda') else: print('yukiko') if __name__ == '__main__': main()