#ABC471B. 问卷统计 / Survey Tabulation
问卷统计 / 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
相关
在下列比赛中: