#include <bits/stdc++.h>
using namespace std;
const int MAXN = 5010;
int a[MAXN];
int cnt[MAXN];
int main() {
  int n;
  scanf("%d", &n);
  int num = 0;
  for (int i = 1; i <= n; i++) {
    int tmp;
    bool ans = 0;
    scanf("%d", &tmp);
    for (int j = 1; j <= num; j++) {
      if (a[j] == tmp) {
        cnt[j]++;
        ans = 1;
        break;
      }
    }
    if (ans == 0) a[++num] = tmp, cnt[num]++;
  }
  int ans = 0;
  for (int i = 1; i <= num; i++) {
    ans = max(ans, cnt[i]);
  }
  printf("%d", ans);
}
