#include <bits/stdc++.h>
using namespace std;
int A[5004];
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  int cnt = 0;
  for (int i = 0; i < n; i++) {
    cin >> A[i];
  }
  sort(A, A + n);
  int ans = 1, last = A[0], sum = 1;
  for (int i = 1; i < n; i++) {
    (A[i] == last) ? sum++ : sum = 1, last = A[i];
    ans = max(ans, sum);
  }
  cout << ans << endl;
}
