import scala.io.StdIn.readLine

object Main {
  def main(args: Array[String]): Unit = {
    solve
  }

  def solve(): Unit = {
    val s = readLine()

    if (s.contains("hi")) println("Yes") else println("No")
  }

}
