➽ Problem:-

https://www.hackerrank.com/challenges/birthday-cake-candles/problem

➽ Solution:-

import math

import os

import random

import re

import sys

 

N = int(input())

arr = list(map(int, input().split()))

 

print(arr.count(max(arr)))