#include <bits/stdc++.h>
using namespace std;
long long n, a, m, k, q, b, c = 1;
float qq, ww, ff = 2, qs;
string ss, s1, s2;
int main() {
  cin >> n;
  cin >> a;
  for (int i = 0; i < n - 1; i++) {
    cin >> c;
    if (c >= a) {
      b++;
    }
  }
  cout << b << endl;
}
