import java.util.*;
import java.lang.Math;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	}
} import java.util.*; util.* java import java.lang.Math; Math java.lang public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	} main {
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int ds[] = new int[n+1]; ds new int[n+1] n+1 n 1 int stack; stack int count = 1; count 1 for(int i = 0;i < n;i++) ds[i] = sc.nextInt(); int i = 0; int i = 0; i 0 i < n i n i++ i++ i ds[i] = sc.nextInt(); ds[i] = sc.nextInt() ds[i] ds i sc.nextInt() sc.nextInt sc ds[n] = 101 ds[n] ds n 101 Arrays.sort(ds) Arrays.sort Arrays ds stack = ds[0] stack ds[0] ds 0 for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        } int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        } {
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        } if(stack != ds[i]){
            count++;
            stack = ds[i];
          } stack != ds[i] stack ds[i] ds i {
            count++;
            stack = ds[i];
          } count++ count stack = ds[i] stack ds[i] ds i System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	}
} Main
import java.util.*;
import java.lang.Math;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
        int n = sc.nextInt();
      	int ds[] = new int[n+1];
      	int stack;
      	int count = 1;

      	for(int i = 0;i < n;i++) ds[i] = sc.nextInt();
      	ds[n] = 101;
      	Arrays.sort(ds);
      	stack = ds[0];
      	for(int i = 1;i < n;i++){
          if(stack != ds[i]){
            count++;
            stack = ds[i];
          }
        }
      
      	System.out.println(count);
	}
}