#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> H(N);
  for (int i = 0; i < N; i++) cin >> H[i];
  int hantei = 1;
  int sum = 0;
  for (int i = 0; i < N; i++) {
    for (int j = 0; j < i; j++) {
      if (i == 0) {
        hantei = 1;
        break;
      }
      if (H[j] > H[i]) {
        hantei = 0;
        break;
      }
    }
    if (hantei == 1) {
      sum += 1;
    }
  }
  cout << sum << endl;
  return 0;
}
