s=input();b=w=0 for _ in range(8): t=input() b+=t.count('b') w+=t.count('w') if b<=w: print(s) else: print('yukiko') if s=='oda' else print('oda')