import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

		System.out.println(li.size());
	}
} import java.util.Scanner; Scanner java.util import java.util.List; List java.util import java.util.ArrayList; ArrayList java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

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

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

		System.out.println(li.size());
	} main {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

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

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

		System.out.println(li.size());
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

		System.out.println(li.size());
	}
} Main
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		Integer num[] = new Integer[105];
		for (int i = 0; i < N; i++) {
			num[i] =sc.nextInt();
		}

		List<Integer> li = new ArrayList<Integer>();
		for (int i = 0; i < N; i++) {
			if (!li.contains(num[i])) {
				li.add(num[i]);
			}
		}

		System.out.println(li.size());
	}
}