#coding:utf-8 S=raw_input() B=[raw_input() for i in range(8)] s='' for i in B: s+=i if S=='oda': if (s.count('b')+s.count('w'))%2==0: print 'oda' else: print 'yukiko' else: if (s.count('b')+s.count('w'))%2==0: print 'yukiko' else: print 'oda'