Birthday Cake Candles

  • + 0 comments
    1. code is in python
    2. from collections import Counter
    3. n = int(input())
    4. x = list(map(int,input().split()))
    5. counter = Counter(x)
    6. max_value = max(counter)
    7. print(counter[max_value])