#include <bits/stdc++.h>
using namespace std;
const int Mn = 1e3 + 7;
const int M = 1e4 + 7;
const int N = 1e5 + 7;
const int Mx = 1e6 + 7;
const long long INF = 1e18 + 7;
int n, amto, amtz, amtn, amte, amtr, zero, one, ans, ans2, mx = -1, mn = INF,
                                                           answer, cnt[Mn];
int a[Mx];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    cnt[a[i]]++;
    mx = max(mx, cnt[a[i]]);
  }
  cout << mx;
  return 0;
}
