#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ct = 0, mx = 101;
  cin >> n;
  int h[n];
  for (int i = (0), iformax = (n); i < iformax; i++) {
    cin >> h[i];
    if (h[i] >= mx) {
      ct += 1;
    }
    mx = max(mx, h[i]);
  }
  cout << ct << endl;
  return 0;
}
