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: n, m = map(int, input().split())
  ans = [[1 for j in range(2**m - 1)] for i in range(2**n - 1)]
  for i in range(2**n - 1):
      for j in range(2**m - 1):
          if i % 2 != j % 2:
              ans[i][j] = 0
          if (abs(i % 8) == 3) ^ (abs(j % 8) == 3):
              ans[i][j] = 1
  for arr in ans:
      print(*arr, sep="")
  
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"}]