Number of maximums#7832

Number of maximums

1 second
128 megabytes
Very easy

An array of integers is given. Find the number of maximum elements in the array.

Input

The first line contains the number n\:(n \le 100). The second line contains integers, each with an absolute value not exceeding .

Output

Print the number of maximum elements in the array.

Examples

Example 1

Loading
Loading