p=raw_input() e=["oda","yukiko"][len(p)==3] b=64-sum(raw_input().count(".")for i in[0]*8) print[p,e][b&1]