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