Imports System

Module Program
    Sub Main()
        Dim S As String = Console.ReadLine().ToLower
        If S.Length <= 10 And S.Length >= 1 Then
            If {"hi", "hihi", "hihihi", "hihihihihi", "hihihihihi"}.Contains(S) Then
                Console.WriteLine("Yes")
            Else
                Console.WriteLine("No")
            End If
        End If

    End Sub
End Module
