#1678. Acmers Love AC

Acmers Love AC

说明

We hate WA! We hate TLE! We hate RE! We hate PE......! The only thing we love is AC!Because we are ACMers! Now we give you a task that you should find how many strings―"AcmersLoveAc" are there in a string that we input.

输入格式

  The input contains several testcases. Each testcase consists of one string(only contains capital letter and Lowercase letter) which is at most 100 characters. Input is terminated by EOF.

输出格式

 For each testcase output, print an integer which stands for that how many strings―"AcmersLoveAc" are there in the input
string.

IKnowAcmersLoveAc
AcmersDontLoveAc
AcmersLoveAcAndAcmersLoveAc
1
0
2