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