#include <bits/stdc++.h>
using namespace std;
int h[100];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; ++i) cin >> h[i];
  int u = 0;
  for (int i = 1; i <= n; ++i) {
    if (h[i] >= h[1]) u = u + 1;
  }
  cout << u;
}
