#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  cin >> str;
  string hello("helloZ");
  int i_hello = 0;
  for (int i = 0; i < str.size(); ++i) {
    if (str[i] == hello[i_hello]) {
      i_hello++;
    }
  }
  if (i_hello == 5) {
    cout << "YES";
  } else {
    cout << "NO";
  }
  return 0;
}
