#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int A;
  vector<int> H;
  for (int i = 0; i < A; ++i) {
    int temp;
    cin >> temp;
    H.push_back(temp);
  }
  int ans = 0;
  int max = -1;
  for (int j = 0; j < H.size(); ++j) {
    if (max <= H[j]) {
      ans++;
      max = H[j];
    }
  }
  cout << ans << endl;
  return 0;
}
