#include<stdio.h>

int main(void)
{
  //nを入力	
  int n;
  scanf("%d",&n);

  int h[n],i,j,ans=1,cnt;
  scanf("%d",&h[0]);
  for(i=1;i<n;i++){
    scanf("%d",&h[i]);
    cnt=0;
    for(j=0;j<i;j++){
      if(h[j]>h[i])
        break;
      cnt++;
      }
    if(cnt>=i)
      ans++;
    }
  }

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