#ABC471B. 问卷统计 / Survey Tabulation

问卷统计 / Survey Tabulation

Problem Statement

Takahashi is tallying the results of a survey.

NN people answered the survey, and the ii-th person's answer is a string SiS_i 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:

  • NN
  • S1S_1
  • \vdots
  • SNS_N

Output

Output the answer.

Constraints

  • 1N1001 \leq N \leq 100
  • SiS_i is a string of length between 11 and 1010 (inclusive) consisting of uppercase and lowercase English letters.
  • NN 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