f = raw_input() B = ''.join(raw_input() for i in range(8)) print ('yukiko' if f=='oda' else 'oda') if B.count('b')>B.count('w') else f