#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> H(N);
  for (int i = 0; i < N; i++) {
    cin >> H[i];
  }
  int count = 1;
  for (int i = 1; i < N; i++) {
    if (H[0] <= H[i]) {
      count++;
    }
  }
  cout << count << endl;
}
