import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { int b=0; Scanner in = new Scanner(System.in); int n = in.nextInt(); int height[] = new int[n]; for(int i=0; hheight.length < n,i++){ height[i] = in.nextInt(); } Arrays.sort(height); int a=height[0]; for(j=0; j<=height.lenght;j++) { if(a=height[j]) { b++; } } System.out.println(b); } }