Given a sequence of numbers. Find out how many times it contains the maximum number
Input data: First enter the number N - the number of members of the sequence, and then N numbers - the members of the sequence
Output: Print a single number - the number of times the maximum number occurs in the sequence.
Examples:
Input
7
1
4
2
5
2
5
3
Output
2