#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const double pi = acos(-1);
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& v) {
  for (ll i = (0), __last_i = (v.size()); i < __last_i; i++) {
    if (i) os << " ";
    os << v[i];
  }
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const vector<vector<T>>& v) {
  for (ll i = (0), __last_i = (v.size()); i < __last_i; i++) {
    if (i) os << endl;
    os << v[i];
  }
  return os;
}
int main() {
  int n;
  cin >> n;
  std::vector<int> H(109);
  for (ll i = (0), __last_i = (n); i < __last_i; i++) cin >> H[i];
  int ans = 0;
  for (int i = 0; i < n; ++i) {
    bool is_candidate = true;
    for (int j = 0; j < i; ++j) {
      if (H[j] < H[i]) is_candidate = false;
    }
    if (is_candidate) ++ans;
  }
  cout << ans << endl;
}
