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

public class Main {
    public static void main(String[] args)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    }
} Main public static void main(String[] args)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    } main {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    } BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(input.readLine()); n Integer.parseInt(input.readLine()) Integer.parseInt Integer input.readLine() input.readLine input boolean [] values = new boolean[101]; values new boolean[101] 101 int v; v int count = 0; count 0 for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        } {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        } v = Integer.parseInt(input.readLine()) v Integer.parseInt(input.readLine()) Integer.parseInt Integer input.readLine() input.readLine input if (!values[v])
                count++; !values[v] values[v] values v count++ count values[v] = true values[v] values v true 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)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception{
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(input.readLine());
        boolean [] values = new boolean[101];
        int v;
        int count = 0;
        for (int i = 0; i < n; i++) {
            v = Integer.parseInt(input.readLine());
            if (!values[v])
                count++;
            values[v] = true;
        }
        System.out.println(count);
    }
}
