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