#include <bits/stdc++.h>
using namespace std;
static const int MAX = 100;
int main() {
  int N;
  cin >> N;
  int H[MAX];
  int count = 1;
  int Hmax;
  for (int i = 0; i < (int)(N); i++) cin >> H[i];
  Hmax = H[0];
  for (int i = 0; i < (int)(N - 1); i++) {
    if (Hmax <= H[i + 1]) count++;
    if (H[i] > Hmax) Hmax = H[i];
  }
  cout << count << endl;
}
