import java.util.*;
import java.util.Collections;
import java.util.ArrayList;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } 
} import java.util.*; util.* java import java.util.Collections; Collections java.util import java.util.ArrayList; ArrayList java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } 
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] d = new int[N]; d new int[N] N int sum = 1; sum 1 for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        } {
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        } d[i] = sc.nextInt() d[i] d i sc.nextInt() sc.nextInt sc if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            } i>0 i 0 {
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            } for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                } int j=0; int j=0; j 0 j<i j i j++ j++ j {
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                } {
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                } if(d[i]==d[j]){
                        break;
                    } d[i]==d[j] d[i] d i d[j] d j {
                        break;
                    } break; if(j==i-1){
                        sum += 1;
                    } j==i-1 j i-1 i 1 {
                        sum += 1;
                    } sum += 1 sum 1 System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } 
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } 
} Main
import java.util.*;
import java.util.Collections;
import java.util.ArrayList;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] d = new int[N];
        int sum = 1;

        for(int i=0; i<N; i++){
            d[i] = sc.nextInt();
            if(i>0){
                for(int j=0; j<i; j++){
                    if(d[i]==d[j]){
                        break;
                    }
                    if(j==i-1){
                        sum += 1;
                    }
                }
            }
        }
        System.out.println(sum);
    } 
}