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