You are given a string of length . The string consists of lowercase English letters.
You may perform the following operation any number of times.
Choose one occurrence of the contiguous substring eagle in the current string and delete it. The parts remaining before and after the deleted substring are concatenated.
Determine whether it is possible to delete every character of the string by performing the operations in an appropriate order.
The input is given in the following format.
Print YES if it is possible to delete every character of the string, and NO otherwise.