#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 (auto it = h.begin(); it != h.end(); it) {
    auto max = max_element(h.begin(), it);
    it++;
    if (*max <= *it) {
      count++;
    }
  }
  cout << count << endl;
  return 0;
}
