#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N, H[100], now, result = 1;
  cin >> N;
  for (int(i) = 0; (i) < (N); (i)++) cin >> H[i];
  now = H[0];
  for (int(i) = 0; (i) < (N); (i)++) {
    if (now <= H[i]) {
      now = H[i];
      result++;
    }
  }
  cout << result << endl;
  return 0;
}
