import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; import java.lang.*; public class Solution { public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ Scanner scan = new Scanner(System.in); long numOfCandles = scan.nextLong(); scan.nextLine(); HashMap mapOfCandles = new HashMap(); long highestCandle = 0; while(scan.hasNext()){ long height = scan.nextLong(); if(highestCandle