import java.util.*;

public class Main {
	
  	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    }
} import java.util.*; util.* java public class Main {
	
  	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    }
} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    } main {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String input = sc.nextLine(); input sc.nextLine() sc.nextLine sc int count = Integer.valueOf(input); count Integer.valueOf(input) Integer.valueOf Integer input boolean[] found = new boolean[101]; found new boolean[101] 101 int total = 0 ; total 0 for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        } int i = 0; int i = 0; i 0 i<count i count i++ i++ i {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        } {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        } int value = Integer.valueOf(sc.nextLine()); value Integer.valueOf(sc.nextLine()) Integer.valueOf Integer sc.nextLine() sc.nextLine sc if(found[value]==false) {
          	found[value] = true;
            total++;
          } found[value]==false found[value] found value false {
          	found[value] = true;
            total++;
          } found[value] = true found[value] found value true total++ total System.out.println(total) System.out.println System.out System System.out total String args[] args public class Main {
	
  	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    }
} public class Main {
	
  	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    }
} Main
import java.util.*;

public class Main {
	
  	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
      	String input = sc.nextLine();
      	int count = Integer.valueOf(input);
      	boolean[] found = new boolean[101];
      	int total = 0 ;
        for( int i = 0; i<count ;i++) {
          int value = Integer.valueOf(sc.nextLine());
          if(found[value]==false) {
          	found[value] = true;
            total++;
          }
        }
      	System.out.println(total);
    }
}