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