#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int countInn = 0;
  int mostWest;
  cin >> mostWest;
  for (int i = 1; i < N; i++) {
    int nextInnH;
    cin >> nextInnH;
    if (nextInnH >= mostWest) countInn++;
  }
  cout << countInn;
  return 0;
}
