#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int ans = 1;
  int a;
  cin >> a;
  for (int i = 0; i < n; i++) {
    int b;
    cin >> b;
    if (a <= b) {
      ans++;
    }
    a = max(a, b);
  }
  cout << ans << endl;
}
