Competitions

# Linear arrays

# Number of maximums

Array of **n** integers is given. Find the number of maximum elements.

#### Input

First line contains the number **n** (**n** ≤ **100**). Next line contains **n** integers, each does not exceed **100** by absolute value.

#### Output

Print the number of maximum elements.

Input example #1

5 1 6 2 6 2

Output example #1

2