#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long a[n + 1];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a, a + n);
  int maxcnt = INT_MIN, cnt = 1;
  for (int i = 0; i < n - 1; i++) {
    if (a[i] == a[i + 1]) {
      cnt++;
    } else {
      if (maxcnt < cnt) {
        maxcnt = cnt;
      }
      cnt = 1;
    }
  }
  if (maxcnt < cnt) {
    maxcnt = cnt;
  }
  cout << maxcnt;
}
