import java.util.ArrayList;
import java.util.Scanner;

public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    }
} Main public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    } main {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        } {
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        } int d = scan.nextInt(); d scan.nextInt() scan.nextInt scan if(!list.contains(d)) list.add(d); !list.contains(d) list.contains(d) list.contains list d list.add(d) list.add list d System.out.println(list.size()) System.out.println System.out System System.out list.size() list.size list scan.close() scan.close scan String[] args args public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    }
} public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    }
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);
        
        int n = scan.nextInt();
        ArrayList<Integer> list = new ArrayList<>();
        for(int i=0; i<n; i++){
            int d = scan.nextInt();
            if(!list.contains(d)) list.add(d);
        }
        System.out.println(list.size());
        scan.close();
        
    }
}