#include <bits/stdc++.h>
using namespace std;
int b[5010];
int n;
int main() {
  ios::sync_with_stdio(false);
  cin >> n;
  for (int i = 0; i < n; i++) cin >> b[i];
  sort(b, b + n);
  int a = b[0], aa, _cnt = 1, _ma = 1;
  for (int i = 1; i < n; i++) {
    aa = b[i];
    if (aa == a)
      _cnt++;
    else
      _cnt = 1;
    a = aa;
    _ma = max(_cnt, _ma);
  }
  cout << _ma << endl;
  return 0;
}
