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