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.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;

public class Main{
    static class Run implements Runnable{
        ///////////////////////////////////////
        //TODO change me to needed IO-type
        final boolean consoleIO = true;
        ///////////////////////////////////////
        final String inFile = "input.txt";
        final String outFile = "output.txt";
        ///////////////////////////////////////
        
        BufferedReader in;
        PrintWriter out;
        StringTokenizer strTok;
        
        Run() {
            if (consoleIO) {
                initConsoleIO();
            }
            else {
                initFileIO();
            }
        }
        
        void initConsoleIO() {
            in = new BufferedReader(new InputStreamReader(System.in));
            out = new PrintWriter(new OutputStreamWriter(System.out));
        }
        
        void initFileIO() {
            try {
                in = new BufferedReader(new FileReader(inFile));
                out = new PrintWriter(new FileWriter(outFile));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        
        void close() {
            try {
                in.close();
                out.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        
        int nextInt() {
            return Integer.parseInt(nextToken());
        }
        
        double nextDouble() {
            return Double.parseDouble(nextToken());
        }
        
        float nextFloat() {
            return Float.parseFloat(nextToken());
        }
        
        long nextLong() {
            return Long.parseLong(nextToken());
        }
        
        boolean hasMoreTokens() {
            return (strTok == null) || (strTok.hasMoreTokens());
        }
        
        String nextToken() {
            while (strTok == null || !strTok.hasMoreTokens()) {
                String line;
                try {
                    line = in.readLine();
                    strTok = new StringTokenizer(line);
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
           
            return strTok.nextToken();
        }
        
        void cout(Object o){
            System.out.println(o);
        }
        
        void print(Object o) {
            out.write(o.toString());
        }
        
        void printf(String format, Object... args) {
            out.printf(format, args);
        }
        
        String sprintf(String format, Object... args) {
            return MessageFormat.format(format, args);
        }
        //========================================================================================================
        //TODO code starts here :)
        @Override
        public void run() {
            String s = nextToken();
            String orig = "hello";
            int l = s.length();
            
            int j = 0;
            boolean res = false;
            for(int i = 0; i < l; ++i) {
                if(s.charAt(i) == orig.charAt(j)) {
                    ++j;
                    if(j == 5) {
                        res = true;
                        break;
                    }
                }
            }
            
            print(res ? "YES" : "NO");
            close();
        }
    }
    //TODO code ends here :)
    //===========================================================================================================
    public static void main(String[] args) throws IOException {
        Run run = new Run();
        Thread thread = new Thread(run);
        thread.run();
    }
}