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