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