#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  vector<long long> v(n);
  for (long long i = 0; i < n; ++i) {
    cin >> v[i];
  }
  sort(v.begin(), v.end());
  long long ans = 0;
  vector<long long> used(n, 0);
  for (long long i = n - 1; i >= 0; --i) {
    if (used[i] == 0) {
      used[i] = 1;
      ++ans;
      long long tec1 = v[i];
      for (long long j = i - 1; j >= 0; --j) {
        if (v[j] < tec1 && used[j] == 0) {
          used[j] = 1;
          tec1 = v[j];
        }
      }
    }
  }
  cout << ans;
  return 0;
}
