import java.util.Scanner;
import java.util.Arrays;
class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int[] check= new int[101];
        Arrays.fill(check,0);
        int answer = 0;
        for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        }
        System.out.println(answer);
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int[] check= new int[101];
        Arrays.fill(check,0);
        int answer = 0;
        for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        }
        System.out.println(answer);
    }
} Main public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int[] check= new int[101];
        Arrays.fill(check,0);
        int answer = 0;
        for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        }
        System.out.println(answer);
    } main {
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int[] check= new int[101];
        Arrays.fill(check,0);
        int answer = 0;
        for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        }
        System.out.println(answer);
    } Scanner scn=new Scanner(System.in); scn new Scanner(System.in) int n=scn.nextInt(); n scn.nextInt() scn.nextInt scn int[] check= new int[101]; check new int[101] 101 Arrays.fill(check,0) Arrays.fill Arrays check 0 int answer = 0; answer 0 for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        } {
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        } int buf  = scn.nextInt(); buf scn.nextInt() scn.nextInt scn if(check[buf]==0){
                check[buf]++;
                answer++;
            } check[buf]==0 check[buf] check buf 0 {
                check[buf]++;
                answer++;
            } check[buf]++ check[buf] check buf answer++ answer System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.util.Scanner;
import java.util.Arrays;
class Main{
    public static void main(String[] args){
        Scanner scn=new Scanner(System.in);
        int n=scn.nextInt();
        int[] check= new int[101];
        Arrays.fill(check,0);
        int answer = 0;
        for(int i=0;i<n;i++){
            int buf  = scn.nextInt();
            if(check[buf]==0){
                check[buf]++;
                answer++;
            }
        }
        System.out.println(answer);
    }
}