#include <bits/stdc++.h>
using namespace std;
int cnt=0,ww=0;
string s;
int f = 0,xx=0;
int main()
{
while (1)
{
getline(cin, s);
if (s == ".")
break;
else
{
cnt++;
if (s.find("chi1 huo3 guo1") != s.npos && f == 0)
{
ww++;
f=1;
xx=cnt;
}
else if(s.find("chi1 huo3 guo1") != s.npos)
{
ww++;
}
}
}
cout<<cnt<<endl;
if(ww==0)
{
cout<<"-_-#";
}
else
{
cout<<xx<<" "<<ww;
}
}
12-29
712
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-27
648
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-16
498
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)