import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    } main {
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc Integer val; val List<Integer> list = new ArrayList<>(); list new ArrayList<>() for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        } {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        } val = sc.nextInt() val sc.nextInt() sc.nextInt sc if (!list.contains(val)) {
                list.add(val);
            } !list.contains(val) list.contains(val) list.contains list val {
                list.add(val);
            } list.add(val) list.add list val System.out.println(list.size()) System.out.println System.out System System.out list.size() list.size list String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        int n = sc.nextInt();
        Integer val;
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            val = sc.nextInt();
            if (!list.contains(val)) {
                list.add(val);
            }
        }
        // 出力
        System.out.println(list.size());
    }
}
