#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
int main() {
  {
    ios_base::sync_with_stdio(false);
    cin.tie(0);
  }
  int n;
  cin >> n;
  int h[n + 1];
  int res = 0;
  for (int i = 1; i <= n; i++) {
    cin >> h[i];
    if (i == 1) continue;
    bool ok = true;
    for (int j = 1; j <= i - 1; j++) {
      if (h[j] > h[i]) {
        ok = false;
        break;
      }
    }
    if (ok) res++;
  }
  cout << res;
  return 0;
}
