eolymp
bolt
Try our new interface for solving problems
Problems

Number of maximums

Number of maximums

Time limit 1 second
Memory limit 128 MiB

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

Input data

First line contains the number n\:(n \le 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