Problems
Figurе
Figurе
8 x 8 chess board has numbered rows and columns from 1 to 8. Vasily Pupkin has a chess figure, which he puts each time to a certain cell. What is the maximum number of times his figure is put to the same cell?
Input
First given the number of moves n (2 ≤ n ≤ 106
), and then n pairs of integers - the row and column cells, where the figure was put.
Output
Print the required number.
Input example #1
8 4 7 5 1 8 5 1 6 4 7 1 6 3 3 6 7
Output example #1
2