#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int h[25];
  cin >> n;
  for (int i = (int)0; i < (int)n; ++i) cin >> h[i];
  int ans = 1;
  int target = h[0];
  for (int i = 1; i <= n; ++i) {
    if (target <= h[i]) {
      ans++;
      target = h[i];
    }
  }
  cout << ans << endl;
  return 0;
}
