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