#include <bits/stdc++.h>
using namespace std;
int N;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> N;
  vector<int> H(N);
  for (auto &x : H) cin >> x;
  int ans = 1, under = H[0];
  for (int i = (0); i < (N); ++i) {
    if (H[i] >= under) {
      ans++;
      under = H[i];
    }
  }
  cout << ans << endl;
}
