#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int last_h = 0;
  int count = 1;
  for (int i = 0; i < N; i++) {
    int h;
    cin >> h;
    if (i > 0) {
      if (last_h <= h) {
        count++;
      }
    }
    last_h = h;
  }
  cout << count << endl;
}
