Codeforces Beta Round 54 (Div. 2)
A
Chat room
Codeforces
1000
原题
←B →
翻译中…

Vasya has recently learned to type and log on to the Internet. He immediately entered a chat room and decided to say hello to everybody. Vasya typed the word $*s*$. It is considered that Vasya managed to say hello if several letters can be deleted from the typed word so that it resulted in the word "hello". For example, if Vasya types the word "ahhellllloou", it will be considered that he said hello, and if he types "hlelo", it will be considered that Vasya got misunderstood and he didn't manage to say hello. Determine whether Vasya managed to say hello by the given word $*s*$.

翻译中…

Input

翻译中…

The first and only line contains the word $*s*$, which Vasya typed. This word consisits of small Latin letters, its length is no less that 1 and no more than 100 letters.

翻译中…

Output

翻译中…

If Vasya managed to say hello, print "YES", otherwise print "NO".

翻译中…

样例

Input #1
ahhellllloou
Output #1
YES
InputCopy OutputCopy
Input #2
hlelo
Output #2
NO
InputCopy OutputCopy
题目信息
题号
58A
时间限制
1 s
内存限制
256 MB
标签
贪心
字符串

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。