Problems
Number of maximums
Number of maximums
Array of $n$ integers is given. Find the number of maximum elements.
\InputFile
First line contains the number $n\:(n \le 100)$. Next line contains $n$ integers, each does not exceed $100$ by absolute value.
\OutputFile
Print the number of maximum elements.
Input example #1
5 1 6 2 6 2
Output example #1
2