409760: GYM103736 A Hello, ACMer!
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
A. Hello, ACMer!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
Today, we are happy to invite so many good friends. IHI has just written a long string to celebrate this great party. How many occurrences of "hznu" as a continuous substring are there in the long string? Please write a program to count the number.
InputThe only line contains a non-empty string, consisting of no more than $$$100\,000$$$ lowercase Latin letters, 'a' to 'z'.
OutputOutput a line containing a single integer, indicating the number of occurrences of "hznu" in the given string.
ExamplesInputhznuOutput
1Input
hhzznnuuOutput
0