import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int len = in.nextInt();
        if(len==1){
            System.out.println(1);
            return;
        }
        if(len==2){
            System.out.println(2);
            return;
        }
        Map<Integer,Integer> map = new HashMap<>();
        map.put(in.nextInt(),1);
        int max=0;
        for(int i=1;i<len;i++){
            int a=in.nextInt();
            if(map.containsKey(a)){
            map.put(a,map.get(a)+1);
            }
            else{ map.put(a,1);}
            max=Math.max(max,map.get(a));
        }
    System.out.println(max+1);
    }
}