Number of maximums#115

Number of maximums

1 second
128 megabytes
Very easy (≈850)

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 number of elements in the array. 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