11 lines
146 B
Python
11 lines
146 B
Python
|
|
def problem_p02747(input_data):
|
||
|
|
S = eval(input_data)
|
||
|
|
|
||
|
|
if S == "hi" * (len(S) // 2):
|
||
|
|
|
||
|
|
return "Yes"
|
||
|
|
|
||
|
|
else:
|
||
|
|
|
||
|
|
return "No"
|