s = input() c=0 for i in range(8): t=input() c+=t.count('b') c+=t.count('w') if c%2==0: print(s) else: r=["oda","yukiko"] r.remove(s) print(r[0])