import java.util.*; public class Novelty{ public static void main(String... args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); System.out.println(counter(n,scan)); } public static int counter(int n, Scanner scan){ ArrayList novelty = new ArrayList(); for(int i = 0; i < n; i++){ int now = scan.nextInt(); if(novelty.indexOf(now) == -1){ novelty.add(now); }else{ continue; } } return novelty.size(); } }