#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n;
  cin >> n;
  vector<int> h(n);
  for (int i = 0; i < (n); ++i) cin >> h[i];
  int count = 0;
  for (int i = 0; i < (n); ++i) {
    bool flag = true;
    for (int j = 0; j < (i); ++j) {
      if (h[i] < h[j]) flag = false;
      break;
    }
    if (flag) ++count;
  }
  cout << count << endl;
  return 0;
}
