
import java.util.Scanner;

public class Main {

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

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    } main {
        Scanner scanner = new Scanner(System.in);

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int[] counts = new int[100 + 1]; counts new int[100 + 1] 100 + 1 100 1 for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            counts[scanner.nextInt()]++;
        } {
            counts[scanner.nextInt()]++;
        } counts[scanner.nextInt()]++ counts[scanner.nextInt()] counts scanner.nextInt() scanner.nextInt scanner int numUniqueNumbers = 0; numUniqueNumbers 0 for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        } int i = 1; int i = 1; i 1 i <= 100 i 100 i++ i++ i {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        } {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        } if (counts[i] > 0) {
                numUniqueNumbers++;
            } counts[i] > 0 counts[i] counts i 0 {
                numUniqueNumbers++;
            } numUniqueNumbers++ numUniqueNumbers System.out.println(numUniqueNumbers) System.out.println System.out System System.out numUniqueNumbers String[] args args public class Main {

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

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    }
} public class Main {

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

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    }
} Main

import java.util.Scanner;

public class Main {

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

        int N = scanner.nextInt();

        int[] counts = new int[100 + 1];

        for (int i = 0; i < N; i++) {
            counts[scanner.nextInt()]++;
        }

        int numUniqueNumbers = 0;
        for (int i = 1; i <= 100; i++) {
            if (counts[i] > 0) {
                numUniqueNumbers++;
            }
        }

        System.out.println(numUniqueNumbers);
    }
}
