import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
}
} 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[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
}
} Main public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
} main {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) List<Integer> list=new ArrayList<Integer>(); list new ArrayList<Integer>() int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	} int i=0; int i=0; i 0 i!=a i a i++ i++ i {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	} {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	} int b=scan.nextInt(); b scan.nextInt() scan.nextInt scan if(!list.contains(b)) {
			list.add(b);
		} !list.contains(b) list.contains(b) list.contains list b {
			list.add(b);
		} list.add(b) list.add list b System.out.println(list.size()) System.out.println System.out System System.out list.size() list.size list scan.close() scan.close scan String[]srgs srgs public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
}
} public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[]srgs) {
	Scanner scan=new Scanner(System.in);
	List<Integer> list=new ArrayList<Integer>();
	int a=scan.nextInt();
	for(int i=0;i!=a;i++) {
		int b=scan.nextInt();
		if(!list.contains(b)) {
			list.add(b);
		}
	}
	System.out.println(list.size());
	scan.close();
}
}