#include <bits/stdc++.h>
int main() {
  int n, h[21] = {0}, k = 1, i = 0;
  scanf("%d\n", &n);
  for (; i < n; i++) scanf("%d", &h[i]);
  for (i = 1; i < n; i++) {
    if (h[0] <= h[i]) k++;
  }
  printf("%d\n", k);
  return 0;
}
