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