#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1LL << 60;
int main() {
  ll N;
  cin >> N;
  vector<ll> vec(N);
  for (ll i = 0; i < N; i++) cin >> vec[i];
  ll res = 1, h1 = vec[0];
  for (ll i = 1; i < N; ++i) {
    if (h1 <= vec[i]) res++;
  }
  cout << res << "\n";
  return 0;
}
