2433. How many ONEs?

单点时限: 3.0 sec

内存限制: 256 MB

Your task is to write a program to count “1” and “one”. The “one” is not case sensitive.

输入格式

Input consists from N(0<N<100) test cases. Each test case consists from a single line containing at most 1024 characters. You have to count how many ONEs in the line.

You can assume that each line consists from alpha-numeric characters.

输出格式

For each test case, you should output a number of ONE.

样例

Input
3
1112345
1Oneone
WanWAN
Output
3
3
0

42 人解决,86 人已尝试。

47 份提交通过,共有 156 份提交。

5.3 EMB 奖励。

创建: 15 年,11 月前.

修改: 7 年,2 月前.

最后提交: 4 年,4 月前.

来源: ECNU 选拔 2008

题目标签