import re s = input() k = 'yukiko' if s == 'oda' else 'oda' c = [] for _ in range(8): c.extend(re.findall(r'[wb]',input())) print(s) if len(c)%2 == 0 else print(k)