#8857. brown文本 入门

时间限制:1000 ms 内存限制:256 MiB 标准输入输出
题目类型:传统 评测方式:文本比较
上传者: Wind_Rises

题目描述

输入若干个字符串,查找这些字符串中共有多少个 brown。查找时,忽略大小写(如"BROWN"也算)

输入格式

若干行(行数不超过 ),每行一个字符串,每个字符串长度不超过 (字符串可能包含空格)

输出格式

一个正整数,表示 brown 的个数(忽略大小写)

样例

样例输入 1

What's that,Mary?
A brown dog.
What's his name?
Brownie.He has four short legs and two big ears.
Look!He is in a brown coat and four brown socks.
Yes,it's cuts.
Is this your dog?
No,it's my teacher Miss Brown's.
Miss brown has a brown dog in a brown coat.That's funny.
Miss Brown likes brown.Except Brownie and his brother,she has three brown cats and five brown birds,too.

样例输出 1

13

样例输入 2

What colour is this bear?
Brown.

样例输出 2

1

数据范围与提示

提示

感谢Teacher_wang提供的题面