#include <bits/stdc++.h>
using namespace std;
int vis[5555];
int main() {
  int n, ans, prev, i, j, a[5555];
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  ans = 0;
  sort(a, a + n);
  for (i = 0; i < n; i++) {
    if (vis[i] == 0) {
      vis[i] = 1;
      ans++;
      prev = a[i];
      for (j = i + 1; j < n; j++)
        if (a[j] > prev && vis[j] == 0) vis[j] = 1, prev = a[j];
    }
  }
  cout << ans;
  return 0;
}
