S = input() B = '' for i in range(8): B += input() if B.count('.') % 2 == 0: print(S) else: if S == 'oda': print('yukiko') else: print('oda')