#include <bits/stdc++.h>
using namespace std;
bool sortbysec(const pair<int, bool> &a, const pair<int, bool> &b) {
  return (a.first < b.first || (a.first == b.first && a.second < b.second));
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  int res = n;
  vector<pair<int, bool> > a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i].first;
    a[i].second = 0;
  }
  sort(a.begin(), a.end());
  vector<pair<int, bool> >::iterator it = a.begin();
  for (int i = 0; i < a.size() - 1; i++) {
    for (int j = i + 1; j < a.size(); j++) {
      if (a[i].first < a[j].first && !a[j].second) {
        a[j].second = 1;
        res--;
        break;
      }
    }
  }
  cout << res << '\n';
  return EXIT_SUCCESS;
}
