import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {

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

} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

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

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

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

} public class Main {

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

} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {

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

}
