import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	}
	public static int sample(int n) {
		return n;
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	}
	public static int sample(int n) {
		return n;
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc long sum=0 sum 0 count=0 count 0 flag=0 flag 0 max=-999999 max -999999 999999 min=99999; min 99999 long[] array=new long[101]; array new long[101] 101 String buff; buff for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		} int i=0; int i=0; i 0 i<a i a i++ i++ i {
			array[sc.nextInt()]++;
		} {
			array[sc.nextInt()]++;
		} array[sc.nextInt()]++ array[sc.nextInt()] array sc.nextInt() sc.nextInt sc for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		} int i=0; int i=0; i 0 i<101 i 101 i++ i++ i {
			if(array[i]>=1)count++;;
		} {
			if(array[i]>=1)count++;;
		} if(array[i]>=1)count++; array[i]>=1 array[i] array i 1 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public static int sample(int n) {
		return n;
	} sample {
		return n;
	} return n; n int n n public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	}
	public static int sample(int n) {
		return n;
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	}
	public static int sample(int n) {
		return n;
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();//, b = sc.nextInt(),c=sc.nextInt();
		//int x=sc.nextInt();//,k=sc.nextInt();
		long sum=0,count=0,flag=0,max=-999999,min=99999;
		long[] array=new long[101];
		//String s=sc.next(),t=sc.next();
		String buff;
		//String[] arrays = new String[a];
		for(int i=0;i<a;i++) {
			array[sc.nextInt()]++;
		}
		for(int i=0;i<101;i++) {
			if(array[i]>=1)count++;;
		}
		System.out.println(count);



	}
	public static int sample(int n) {
		return n;
	}

}
