#include <bits/stdc++.h>
using namespace std;
long long n, h[101], ans;
int main() {
  int cnt = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> h[i];
    if (h[i] >= h[i - 1] && h[i] >= h[0]) cnt++;
  }
  cout << cnt << " ";
}
