#include <bits/stdc++.h>
using namespace std;
long long int arr[500005], sum[500005];
bool vis[100005];
map<long long int, long long int> hola;
map<pair<long long int, long long int>, long long int> con;
vector<pair<long long int, long long int>> conn;
int main() {
  long long int n, maxi = INT_MIN;
  cin >> n;
  for (long long int i = 0; i < n; i++) {
    cin >> arr[i];
    hola[arr[i]]++;
  }
  for (long long int i = 0; i < n; i++) {
    if (hola[arr[i]] > maxi) maxi = hola[arr[i]];
  }
  cout << maxi;
  return 0;
}
