#include <bits/stdc++.h>
using namespace std;
int n, a[5005];
int check[5005];
int main() {
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
  }
  sort(a + 1, a + n + 1);
  memset(check, false, sizeof check);
  int d = 0;
  for (int i = 1; i <= n; ++i) {
    if (!check[i]) {
      ++d;
      check[i] = true;
      int x = a[i];
      for (int j = i + 1; j <= n; ++j) {
        if (a[j] > x && !check[j]) {
          check[j] = true;
          x = a[j];
        }
      }
    }
  }
  cout << d;
  return 0;
}
