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

public class Main {

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

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

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

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

public class Main {

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