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".

Examples

Input

ahhellllloou


Output

YES


Input

hlelo


Output

NO
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Stack;





public class main {


    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }
    static int gcd(int a, int b)
    {
        if (a == 0)
            return b;
        return gcd(b % a, a);
    }

    static int findGCD(int arr[])
    {
        int result = arr[1];
        for (int i = 1; i <arr.length-1 ; i++)
            result = gcd(arr[i], result);

        return result;
    }
    private static long[] getLongArrar(int size) {
        long arr[] = new long[size + 2];
        for (int i = 0; i <= size; i++) {
            arr[i] = in.nextLong();
        }
        return arr;
    }
    private static String[] getStringArray(int size) {
        String arr[] = new String[size + 2];
        for (int i = 1; i <= size; i++) {
            arr[i] = in.next();
        }
        return arr;
    }
    private static int[] getIntArray(int size) {
        int arr[] = new int[size + 2];
        for (int i = 1; i <= size; i++) {
            arr[i] = in.nextInt();
        }
        return arr;
    }
    private static long[] CumulativeOfArrayCreator(int arr[],int size){
        long cumulative [] =new long[size];
        cumulative[0]=arr[0];
        for(int i=1;i<size;i++){
            cumulative[i]=cumulative[i-1]+arr[i];
        }
        return cumulative;
    }
    private static int ModifiedBinarySearch(long a[],int start,int end,long value){
        // this search INDEX will find greatest element small or equal to the value

        int mid=-1;
        int nearest=start;
        while(start<=end){
            mid=(start+end)/2;
            if(a[mid]<value) {
                nearest=mid;
                start=mid+1;
            }else if (a[mid]>value){
                end=mid-1;
            }else{
                return mid;
            }
        }
        return nearest;
    }



















    //Code starts from here ---------->>




    static FastReader in;
    static StringBuilder out;
    static int n;

    public static void main(String[] args) {
        in=new FastReader();
        out=new StringBuilder();

        String s=in.next();
        String dummy="hello";
        int j=0;
        for(int i=0;i<s.length()&&j<5;i++){
            if(dummy.charAt(j)==s.charAt(i)){
               // System.out.println(dummy.charAt(j));
                ++j;
            }
        }
        if(j==5){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }
}