#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  cin >> n;
  vector<int> h(n);
  for (auto& i : h) cin >> i;
  int count = 1;
  for (int i = 1; i < n; i++) {
    auto max = *max_element(&h.at(0), &h.at(i - 1));
    if (max <= h.at(i)) count++;
  }
  cout << count << endl;
  return 0;
}
