#abc359a. A - Count Takahashi
A - Count Takahashi
Score : points
问题陈述
你得到了 个字符串。
第 个字符串 要么是 Takahashi,要么是 Aoki。
有多少个 使得 等于 Takahashi?
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
You are given strings.
The -th string is either Takahashi or Aoki.
How many are there such that is equal to Takahashi?
Constraints
- is an integer.
- Each is
TakahashiorAoki.
Input
The input is given from Standard Input in the following format:
Output
Print the count of such that is equal to Takahashi as an integer in a single line.
Sample Input 1
3
Aoki
Takahashi
Takahashi
Sample Output 1
2
and are equal to Takahashi, while is not.
Therefore, print 2.
Sample Input 2
2
Aoki
Aoki
Sample Output 2
0
It is possible that no is equal to Takahashi.
Sample Input 3
20
Aoki
Takahashi
Takahashi
Aoki
Aoki
Aoki
Aoki
Takahashi
Aoki
Aoki
Aoki
Takahashi
Takahashi
Aoki
Takahashi
Aoki
Aoki
Aoki
Aoki
Takahashi
Sample Output 3
7