S = raw_input() cnt = 0 for i in range(8): t = tuple(raw_input()) cnt += t.count('b') cnt += t.count('w') if cnt % 2 == 0: print S else: if S == 'oda': print 'yukiko' else: print 'oda'