using System; using System.Collections.Generic; using System.IO; class Solution { static void Main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */ int numOfEntries =int.Parse(Console.ReadLine()); string[] entries = Console.ReadLine().Split(' '); double tallestCandleHeight=0; double candleCount=0; for(int i = 0 ; itallestCandleHeight) { tallestCandleHeight=candleHeight; //count reset to 1 candleCount=1; } else if(candleHeight == tallestCandleHeight) { candleCount++; } } Console.WriteLine(candleCount); } }