#include <bits/stdc++.h>
using namespace std;
template <typename S, typename T>
ostream& operator<<(ostream& out, pair<S, T> const& p) {
  out << '(' << p.first << ", " << p.second << ')';
  return out;
}
template <typename T>
ostream& operator<<(ostream& out, vector<T> const& v) {
  int l = v.size();
  for (int i = 0; i < l - 1; i++) out << v[i] << ' ';
  if (l > 0) out << v[l - 1];
  return out;
}
template <typename T>
void trace(const char* name, T&& arg1) {
  cout << name << " : " << arg1 << endl;
}
template <typename T, typename... Args>
void trace(const char* names, T&& arg1, Args&&... args) {
  const char* comma = strchr(names + 1, ',');
  cout.write(names, comma - names) << " : " << arg1 << " | ";
  trace(comma + 1, args...);
}
int main() {
  int n;
  cin >> n;
  long long arr[n];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  sort(arr, arr + n, greater<long long>());
  int cnt = 1;
  int start = 0;
  while (start < n) {
    int currval = arr[start];
    int tc = 0;
    if (start + 1 < n && arr[start + 1] == currval) {
      tc = 1;
      while (start + 1 < n && arr[start + 1] == currval) {
        start++;
        tc++;
      }
      start++;
      if (cnt < tc) {
        cnt = tc;
      }
    } else {
      start++;
    }
  }
  cout << cnt << endl;
  return 0;
}
