79 - The 6th Zhejiang Provincial Collegiate Programming Contest - F
I guess most of us are so called 80ers, which means that we were born in the 1980's. This group of people shared a lot of common memories. For example, the Saint Seiya, the YoYo ball, the Super Mario, and so on. Do you still remember these?
There will be ONLY ONE test case.
The test case begins with a positive integer N, (N < 100).
For each of these K people, you are asked to count the number of typical 80ers' keywords on his/her list and output it in a single line.
4 Saint_Seiya YoYo_ball Super_Mario HuLuWa 3 2 Saint_Seiya TiaoFangZi 1 KTV 3 HuLuWa YOYO_BALL YoYo_ball
1 0 2
Author: GAO, Fei
Source: The 6th Zhejiang Provincial Collegiate Programming Contest