#include <bits/stdc++.h>
int main() {
  int x, y, aux = 0, cont = 0;
  scanf("%i", &x);
  scanf("%i", &y);
  x--;
  aux = y;
  while (x--) {
    scanf("%i", &y);
    if (aux <= y) cont++;
  }
  printf("%i\n", cont + 1);
}
