a=input() b=(set(["yukiko","oda"])-set([a])).pop() v=64-sum(input().count(".") for _ in range(8)) print(b if v%2 else a)