#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long MAXN = 1e6 + 5;
const long long INF = (1ll << 31);
const double PI = 3.14159265359;
int n, x, ans, a[MAXN];
map<int, int> u;
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
    ++u[a[i]];
    ans = max(ans, u[a[i]]);
  }
  cout << ans;
}
