#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
const long long MOD = 1e10;
const long long N = 1e5 + 9;
const long long inf = 1 << 30;
template <class T>
T gcd(T a, T b) {
  return (b != 0 ? gcd<T>(b, a % b) : a);
}
template <class T>
T lcm(T a, T b) {
  return (a / gcd<T>(a, b) * b);
}
template <typename T>
T exp(T b, T p) {
  T x = 1;
  while (p) {
    if (p & 1) x = (x * b);
    b = (b * b);
    p = p >> 1;
  }
  return x;
}
inline long long ones(long long n) {
  long long res = 0;
  while (n && ++res) n -= n & (-n);
  return res;
}
inline bool EQ(double a, double b) { return fabs(a - b) < 1e-9; }
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  long long ans = 1, mx;
  cin >> mx;
  for (long long i = 1; i < n; ++i) {
    long long a;
    cin >> a;
    if (a >= mx) ans++;
  }
  cout << ans;
}
