AtCoder Beginner Contest 471
B
问卷统计
Survey Tabulation
AtCoder
⌀ 0
原题
← AD →

问卷统计AI (CI翻译)

Problem Statement

题目描述

AI (CI翻译)

Takahashi is tallying the results of a survey.

Takahashi 正在统计问卷结果。AI (CI翻译)

$N$ people answered the survey, and the $i$-th person's answer is a string $S_i$ consisting of English letters.

$N$ 个人回答了问卷,第 $i$ 个人的回答是一个由英文字母组成的字符串 $S_i$。AI (CI翻译)

Find the maximum number of people who gave the same answer in this survey. Here, the case of the letters in the answers is not distinguished. For example, AtCoder, ATCODER, and atcoder are all considered the same answer.

请找出在这份问卷中给出相同回答的人数的最大值。 这里不区分回答中字母的大小写。 例如,AtCoder、ATCODER 和 atcoder 都会被视为相同的回答。AI (CI翻译)

Constraints

约束条件

AI (CI翻译)
  • $1 \leq N \leq 100$
  • $S_i$ is a string of length between $1$ and $10$ (inclusive) consisting of uppercase and lowercase English letters.
  • $N$ is an integer.
  • $1 \leq N \leq 100$
  • $S_i$ 是一个长度在 $1$ 到 $10$(含)之间、由大写和小写英文字母组成的字符串。
  • $N$ 是整数。
AI (CI翻译)

Input

输入格式

AI (CI翻译)

The input is given from Standard Input in the following format:

输入从标准输入按以下格式给出:AI (CI翻译)

N
S_1
\vdots
S_N

N
S_1
\vdots
S_N
AI (CI翻译)

Output

输出格式

AI (CI翻译)

Output the answer.

输出答案。AI (CI翻译)

样例

Input #1
7
ARC
abc
ahc
ABC
beginner
AbC
ahc
Output #1
3
There are three answers that are the same as `ABC`, and this number is the maximum.
Input #2
10
x
x
x
x
x
x
x
x
x
x
Output #2
10
题目信息
题号
abc471_b
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(gpt-6.1-sol),如有出入请以原文为准。