int main(){

  int i;
  int N;
  scanf("%d",&N);

  int H[N];
  for (i=0; i<N; i++) {
    scanf("%d",&H[i]);
  }

  int ans = 1;
  int High = H[0];
  for (i=1; i<N; i++) {
    if (H[i] >= High) {
      ans +=1;
    }
  }

  printf("%d\n",ans);
  return 0;
}
