#include <bits/stdc++.h>
using namespace std;
map<long long, long long> mp;
int main() {
  int n;
  long long a;
  cin >> n;
  while (n--) {
    cin >> a;
    mp[a]++;
  }
  vector<long long> v;
  map<long long, long long>::iterator it;
  for (it = mp.begin(); it != mp.end(); it++) {
    v.push_back(it->second);
  }
  sort(v.begin(), v.end());
  cout << v[v.size() - 1] << endl;
  return 0;
}
