import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	} main {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int []hairetu = new int[N]; hairetu new int[N] N int ans =1; ans 1 for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     } int i=0; int i=0; i 0 i<N i N i++ i++ i {
    	 hairetu[i]=sc.nextInt();
     } {
    	 hairetu[i]=sc.nextInt();
     } hairetu[i]=sc.nextInt() hairetu[i] hairetu i sc.nextInt() sc.nextInt sc for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     } int i=0; int i=0; i 0 i<N-1 i N-1 N 1 i++ i++ i {
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     } {
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     } for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 } int j=0; int j=0; j 0 j<N-1-i j N-1-i N-1-i N 1 i j++ j++ j {
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 } {
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 } if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 } hairetu[j]<hairetu[j+1] hairetu[j] hairetu j hairetu[j+1] hairetu j+1 j 1 {
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 } int temp = hairetu[j]; temp hairetu[j] hairetu j hairetu[j]=hairetu[j+1] hairetu[j] hairetu j hairetu[j+1] hairetu j+1 j 1 hairetu[j+1]=temp hairetu[j+1] hairetu j+1 j 1 temp int now = hairetu[0]; now hairetu[0] hairetu 0 for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     } int i=0; int i=0; i 0 i<N i N i++ i++ i {
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     } {
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     } if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 } now>hairetu[i] now hairetu[i] hairetu i {
    		 now=hairetu[i];
    		 ans++;
    	 } now=hairetu[i] now hairetu[i] hairetu i ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	}
} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
     int N = sc.nextInt();
     int []hairetu = new int[N];
     int ans =1;
     for(int i=0;i<N;i++){
    	 hairetu[i]=sc.nextInt();
     }
     for(int i=0;i<N-1;i++){
    	 for(int j=0;j<N-1-i;j++){
    		 if(hairetu[j]<hairetu[j+1]){
    			 int temp = hairetu[j];
    			 hairetu[j]=hairetu[j+1];
    			 hairetu[j+1]=temp;
    		 }
    	 }
     }
     int now = hairetu[0];
     for(int i=0;i<N;i++){
    	 if(now>hairetu[i]){
    		 now=hairetu[i];
    		 ans++;
    	 }
     }
     System.out.println(ans);
     
     
	}
}
