output_description: If S is a Hitachi string, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
attempt: s = input()
  n = len(s)
  
  if n == 1:
      print("No")
  elif n == 2:
      if s == "hi":
          print("Yes")
      else:
          print("No")
  elif n == 3:
      if s[0] + s[1] == "hi" or s[1] + s[2] == "hi":
          print("Yes")
      else:
          print("No")
  elif n == 4:
      if s[0] + s[1] == "hi" or s[1] + s[2] == "hi" or s[2] + s[3] == "hi":
          print("Yes")
      else:
          print("No")
  elif n == 5:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  elif n == 6:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
          or s[4] + s[5] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  elif n == 7:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
          or s[4] + s[5] == "hi"
          or s[5] + s[6] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  elif n == 8:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
          or s[4] + s[5] == "hi"
          or s[5] + s[6] == "hi"
          or s[6] + s[7] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  elif n == 9:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
          or s[4] + s[5] == "hi"
          or s[5] + s[6] == "hi"
          or s[6] + s[7] == "hi"
          or s[7] + s[8] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  elif n == 10:
      if (
          s[0] + s[1] == "hi"
          or s[1] + s[2] == "hi"
          or s[2] + s[3] == "hi"
          or s[3] + s[4] == "hi"
          or s[4] + s[5] == "hi"
          or s[5] + s[6] == "hi"
          or s[6] + s[7] == "hi"
          or s[7] + s[8] == "hi"
          or s[8] + s[9] == "hi"
      ):
          print("Yes")
      else:
          print("No")
  
problem_description: Statement
  
  A Hitachi string is a concatenation of one or more copies of the string `hi`.
  
  For example, `hi` and `hihi` are Hitachi strings, while `ha` and `hii` are
  not.
  
  Given a string S, determine whether S is a Hitachi string.
samples: [{"input": "hihi", "output": "Yes\n    \n\n`hihi` is the concatenation of two copies of `hi`, so it is a Hitachi string.\n\n* * *"}, {"input": "hi", "output": "Yes\n    \n\n* * *"}, {"input": "ha", "output": "No"}]