#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[5005], i = 0, sum, num = 1;
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  for (i = 0; i < n - 1; i++) {
    sum = 1;
    while (a[i] == a[i + 1]) {
      sum++;
      num = max(sum, num);
      i++;
    }
  }
  cout << num;
  return 0;
}
