#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, max;
  int count = 1;
  bool judge = true;
  cin >> N;
  vector<int> H(N);
  for (int i = 0; i < N; i++) {
    cin >> H.at(i);
  }
  for (int i = 1; i < N; i++) {
    for (int j = 0; j < i; j++) {
      if (H.at(i) < H.at(j)) {
        judge = false;
      } else {
        judge = true;
      }
    }
    if (judge == true) count++;
  }
  cout << count << endl;
}
