import java.util.*;
class Main{

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

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

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