#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int count = 1;
  sort(a, a + n, greater<int>());
  for (int i = 1; i < n; i++) {
    int j = 1;
    while (a[i] == a[i - 1]) {
      j++;
      i++;
      if (j > count) count++;
    }
  }
  cout << count;
  return 0;
}
