#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, n, x, H;
  x = 0;
  cin >> N >> n;
  for (int i = 0; i < N; i++) {
    if (i = 0) {
      x++;
    } else {
      cin >> H;
      if (n <= H) {
        x++;
        n = H;
      }
    }
  }
  cout << x << endl;
}
