import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args){
        int n = 0;
        int[] d = null;
        int[] b = new int[101];
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        }
        int c=0;
        for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        }
        System.out.println(c);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String[] args){
        int n = 0;
        int[] d = null;
        int[] b = new int[101];
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        }
        int c=0;
        for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        }
        System.out.println(c);
    }
} Main public static void main(String[] args){
        int n = 0;
        int[] d = null;
        int[] b = new int[101];
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        }
        int c=0;
        for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        }
        System.out.println(c);
    } main {
        int n = 0;
        int[] d = null;
        int[] b = new int[101];
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        }
        int c=0;
        for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        }
        System.out.println(c);
    } int n = 0; n 0 int[] d = null; d null int[] b = new int[101]; b new int[101] 101 try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        } catch (IOException e){
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String s = reader.readLine(); s reader.readLine() reader.readLine reader n = Integer.parseInt(s) n Integer.parseInt(s) Integer.parseInt Integer s d = new int[n] d new int[n] n for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                d[i] = Integer.parseInt(reader.readLine());
            } {
                d[i] = Integer.parseInt(reader.readLine());
            } d[i] = Integer.parseInt(reader.readLine()) d[i] d i Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader int c=0; c 0 for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        } {
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        } b[d[i]]++ b[d[i]] b d[i] d i if(b[d[i]] == 1){
                c++;
            } b[d[i]] == 1 b[d[i]] b d[i] d i 1 {
                c++;
            } c++ c System.out.println(c) System.out.println System.out System System.out c String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args){
        int n = 0;
        int[] d = null;
        int[] b = new int[101];
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String s = reader.readLine();
            n = Integer.parseInt(s);
            d = new int[n];
            for(int i=0;i<n;i++){
                d[i] = Integer.parseInt(reader.readLine());
            }
        } catch (IOException e){
            e.printStackTrace();
        }
        int c=0;
        for(int i=0;i<n;i++){
            b[d[i]]++;
            if(b[d[i]] == 1){
                c++;
            }
        }
        System.out.println(c);
    }
}