#include <bits/stdc++.h>
using namespace std;
int main() {
  map<int, int> mymap;
  int n, temp;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &temp);
    mymap[temp]++;
  }
  int r = 0;
  while (mymap.size() > 0) {
    map<int, int> mymap1;
    for (map<int, int>::iterator it = mymap.begin(); it != mymap.end(); it++) {
      if (it->second - 1 > 0) mymap1[it->first] = it->second - 1;
    }
    mymap.clear();
    mymap = mymap1;
    r++;
  }
  printf("%d\n", r);
  return 0;
}
