#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int firstH;
  cin >> firstH;
  int ans = 0;
  for (int i = 0; i < n - 1; i++) {
    int tmp;
    cin >> tmp;
    if (tmp >= firstH) {
      ans++;
    }
  }
  cout << ans << endl;
  return 0;
}
