#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int i, ans, tmp = 0;
  while (i < N) {
    int H;
    cin >> H;
    if (tmp <= H) {
      ans += 1;
      tmp = H;
    }
    i++;
  }
  cout << ans << endl;
  return 0;
}
