#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int cntNum;
  int cnt = 0;
  int maxCnt = 0;
  cin >> n;
  vector<int> arr(n);
  for (int i = 0; i < n; i++) cin >> arr[i];
  sort(arr.begin(), arr.end());
  cntNum = arr[0];
  for (int i = 0; i < n; i++) {
    if (arr[i] == cntNum) {
      cnt++;
    } else {
      maxCnt = max(cnt, maxCnt);
      cnt = 1;
      cntNum = arr[i];
    }
    if (i == n - 1) {
      maxCnt = max(cnt, maxCnt);
      cnt = 1;
      cntNum = arr[i];
    }
  }
  cout << maxCnt << endl;
  return 0;
}
