#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N;
  cin >> N;
  int *H;
  H = new int[N];
  int count = 0;
  for (int i = 0; i < N; i++) {
    cin >> H[i];
  }
  for (int i = 1; i < N; i++) {
    for (int j = i; j < i + 1; j++) {
      if (H[0] <= H[j] && H[j - 1] <= H[j]) {
        count++;
      }
    }
  }
  cout << count + 1 << endl;
  return 0;
}
