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