#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, c = 1;
  cin >> n;
  int arr[n];
  cin >> arr[0];
  for (int i = 1; i < n; i++) {
    cin >> arr[i];
    if (arr[i] >= arr[0]) {
      c++;
    }
  }
  cout << c;
}
