#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[100];
  char hello[] = {'h', 'e', 'l', 'l', 'o', '\0'};
  cin >> s;
  int i = 0;
  int j = 0;
  while (s[i] != '\0') {
    if (s[i] == hello[j]) ++j;
    ++i;
  }
  if (j == 5)
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
