import java.util.*;

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

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