问卷统计 / Survey Tabulation
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
Problem Statement
Takahashi is tallying the results of a survey.
people answered the survey, and the -th person's answer is a string consisting of English letters.
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.
Input
The input is given from Standard Input in the following format:
Output
Output the answer.
Constraints
- is a string of length between and (inclusive) consisting of uppercase and lowercase English letters.
- is an integer.
7
ARC
abc
ahc
ABC
beginner
AbC
ahc
3
There are three answers that are the same as ABC, and this number is the maximum.
10
x
x
x
x
x
x
x
x
x
x
10
- Source: AtCoder ABC 471 B