first = raw_input() if first == "yukiko": second = "oda" else: second = "yukiko" fied = [] for i in range(0,8): fied.append(raw_input()) A = list("".join(fied)) if (A.count("w") + A.count("b")) % 2 ==1: print second else: print first