10657: ei序列

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

编写一个程序读取输入,直到#结束,并报告序列ei出现的次数。

Input

输入共一行,不超过255个字符。

Output

共一行。表示输入序列中出现的ei的次数。

Sample Input Copy

Now is seven eighteen! We'll meet at eight.#

Sample Output Copy

2