#include <bits/stdc++.h>
using namespace std;
bool rev(long long x, long long y) { return x > y; }
void input_arr(long long a[], long long n) {
  for (long long i = 0; i < n; i += 1) cin >> a[i];
}
void print_vec(vector<long long> &v) {
  for (auto i : v) cout << i << " ";
  cout << endl;
}
void print_arr(long long a[], long long n) {
  for (long long i = 0; i < n; i += 1) cout << a[i] << " ";
  cout << endl;
}
bool sortbysec(const pair<long long, long long> &a,
               const pair<long long, long long> &b) {
  return a.second < b.second;
}
template <typename... T>
void input(T &...args) {
  ((cin >> args), ...);
}
template <typename... T>
void print(T &&...args) {
  ((cout << args << endl), ...);
}
template <typename... T>
void deb(T &&...args) {
  cerr << "~~ ";
  ((cerr << args << " "), ...);
  cerr << endl;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long tin = 1;
  while (tin--) {
    long long n;
    input(n);
    long long a[n];
    input_arr(a, n);
    map<long long, long long> mpp;
    for (long long i = 0; i < n; i += 1) mpp[a[i]]++;
    long long ans = -1;
    for (long long i = 0; i < n; i += 1) ans = max(ans, mpp[a[i]]);
    print(ans);
  }
  return 0;
}
