 
# You are in charge of the cake for a child's birthday. You have decided the cake will have one candle for each year of their total age. They will only be able to blow out the tallest of the candles. Count how many candles are tallest.

# Example


# The maximum height candles are  units high. There are  of them, so return .

# Function Description

# Complete the function birthdayCakeCandles in the editor below.

# birthdayCakeCandles has the following parameter(s):

# int candles[n]: the candle heights
# Returns

# int: the number of candles that are tallest
# Input Format

# The first line contains a single integer, , the size of .
# The second line contains  space-separated integers, where each integer  describes the height of .

# Constraints

# Sample Input 0

# 4
# 3 2 1 3
# Sample Output 0

# 2
# Explanation 0

# Candle heights are [3,2,1,3]. The tallest candles are 4 units, and there are 2 of them.
def birthdayCakeCandles(candles):
    c=list()
    for x in candles:
        c.append(x)
    c.sort()
    #c=list(set(c))
    m=c[len(c)-1]
    count=0
    for x in candles:
        if x==m:
            count+=1
    return count
 

print(birthdayCakeCandles([82 ,49 ,82 ,82 ,41 ,82 ,15 ,63 ,38 ,25]))