S = input() dots = sum(input().count('.') for _ in range(8)) if dots%2: if S=="oda": print("yukiko") else: print("oda") else: print(S)