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.

Input

The only line contains a non-empty string, consisting of no more than $$$100\,000$$$ lowercase Latin letters, 'a' to 'z'.

Output

Output a line containing a single integer, indicating the number of occurrences of "hznu" in the given string.

ExamplesInput
hznu
Output
1
Input
hhzznnuu
Output
0

加入题单

上一题 下一题 算法标签: