S = input() r = {"oda": "yukiko", "yukiko": "oda"} c = 0 for _ in range(8): c += 8-input().count(".") if not c&1: print(S) else: print(r[S])