#include <bits/stdc++.h>
int main() {
  char chat[105];
  char cek[] = {'h', 'e', 'l', 'l', 'o'};
  scanf("%s", chat);
  int panjang = strlen(chat);
  int counter = 0, i = 0;
  for (int j = 0; j < panjang; j++) {
    if (chat[j] == cek[i]) {
      counter++;
      i++;
      if (counter == 5) break;
    }
  }
  printf("%s\n", counter == 5 ? "YES" : "NO");
  return 0;
}
