function Main(input) {
  if (input==="hihihihihi"){console.log("Yes");return;}
  else if(input==="hihihihi"){console.log("Yes");return;}
  else if(input==="hihihi"){console.log("Yes");return;}
  else if(input==="hihi"){console.log("Yes");return;}
  else if(input==="hi"){console.log("Yes");return;}
  else {console.log("No");return;}
  if(input.lenfth > 10){console.log("No");return;}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));