import java.util.*; import java.io.*; class prob365 { public static void main(String args[])throws IOException { BufferedReader sc=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(sc.readLine()); String s[]=sc.readLine().split(" "); int a[]=new int[n]; for(int i=0;ia[j]) { ans++; break; } } } System.out.println(ans); } }