#include <bits/stdc++.h>
using namespace std;
int str[50000];
int countt[50000];
int main(void) {
  memset(countt, 0, sizeof(countt));
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> str[i];
  }
  sort(str, str + n);
  int to = 0;
  for (int i = 1; i < n; i++) {
    if (str[i] == str[i - 1])
      countt[to] += 1;
    else
      to++;
  }
  int max = 0;
  for (int i = 0; i < to + 1; i++) {
    if (countt[i] > countt[max]) max = i;
  }
  cout << countt[max] + 1 << endl;
}
