import java.io.*; import java.util.*; 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 in = new Scanner(System.in); int n = in.nextInt(); int tallest_height=0, tallest_count=0; for( int i=0; i tallest_height ){ tallest_height = temp; tallest_count = 1; } else if ( temp == tallest_height ){ tallest_count++; } } System.out.println(tallest_count); } }