import java.util.*;

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	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 num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        }
        
      System.out.println(ans);
    	
      
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        }
        
      System.out.println(ans);
    	
      
    } main {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        }
        
      System.out.println(ans);
    	
      
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = Integer.parseInt(sc.nextLine()); num Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc boolean[] array = new boolean[100+1]; array new boolean[100+1] 100+1 100 1 for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        } int i = 1; int i = 1; i 1 i <= 100 i 100 i++ i++ i {
        	array[i] = false;
        } {
        	array[i] = false;
        } array[i] = false array[i] array i false for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        } int i = 1; int i = 1; i 1 i <= num i num i++ i++ i {
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        } {
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        } int index = Integer.parseInt(sc.nextLine()); index Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc array[index] = true array[index] array index true int ans = 0; ans 0 for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        } int i = 1; int i = 1; i 1 i <= 100 i 100 i++ i++ i {
        	if(array[i] == true){
            	ans++;
            }
        } {
        	if(array[i] == true){
            	ans++;
            }
        } if(array[i] == true){
            	ans++;
            } array[i] == true array[i] array i true {
            	ans++;
            } 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 num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        }
        
      System.out.println(ans);
    	
      
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	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 num = Integer.parseInt(sc.nextLine());
    	
      	boolean[] array = new boolean[100+1];
  		
      	for(int i = 1;i <= 100 ;i++){
        	array[i] = false;
        }
      	
      	for(int i = 1;i <= num;i++){
        	int index = Integer.parseInt(sc.nextLine());
          	
          	array[index] = true;
        }
		
      	int ans = 0;
      	for(int i = 1;i <= 100 ;i++){
        	if(array[i] == true){
            	ans++;
            }
        }
        
      System.out.println(ans);
    	
      
    }
}