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