#include <bits/stdc++.h>
using namespace std;
int a[10005];
bool used[10005];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  int cnt = n;
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      if (!used[j] and a[i] < a[j]) {
        used[j] = true;
        cnt--;
        break;
      }
    }
  }
  cout << cnt << endl;
}
