#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a;
  map<int, int> count;
  for (int i = 1; i <= 100; i++) {
    count[i] = 0;
  }
  for (int i = 0; i < n; i++) {
    cin >> a;
    count[a] += a;
  }
  int ma = 1;
  for (int i = 1; i <= 100; i++) {
    ma = max(ma, count[i] / i);
  }
  cout << ma;
  return 0;
}
