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