#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int H[N];
  for (int i = 0; i < N; i++) {
    H[i] = 0;
  }
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> H[i];
  }
  int result = 0;
  for (int i = 0; i < N; i++) {
    if (i == 0) {
      result = result + 1;
    } else {
      bool canSee = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) {
          canSee = false;
        }
      }
      if (canSee == true) {
        result = result + 1;
      }
    }
  }
  cout << result << endl;
  return 0;
}
