fun main(args: Array<String>) {
    val S = next()
    var ans = false
    if (S.length == 2 && S.startsWith("hi")) ans = true
    if (S.length == 4 && S.startsWith("hihi")) ans = true
    if (S.length == 6 && S.startsWith("hihihi")) ans = true
    if (S.length == 8 && S.startsWith("hihihihi")) ans = true
    if (S.length == 10 && S.startsWith("hihihihihi")) ans = true
    println(if (ans) "Yes" else "No")
}
fun next() = readLine()!!
fun listOfString() = next().split(" ")
fun listOfLong() = listOfString().map(String::toLong)
fun nextInt(delta: Int = 0) = Integer.parseInt(next()) + delta
