'''****** Задание ******** *Зайка — 1. ''' text = input() if 'зайка' in text: print('YES') else: print('NO')