function Main(input) {
  var S = input.toString();
  if(S.length > 10){console.log("No");return;}

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