#include <iostream>
#include <vector>

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];
  }
  for(int i=0;i<n;i++){
    if(arr[0] =< arr[i]){
      count++;
    }
  }
  cout << count << endl;
  return 0;
}