#include<iostream>
using namespace std;
 
int main(){
  int N; cin>>N;
  
  vector<int> H(N);
  for(int i=0;i<N;++i){
    
    cin>>H[i];
  }
  int ans=0;
  for (int i=0;i<N;++1){
    bool candidate=true;
    for(int j=0;j<i;++j){
      if(H[j]>H[i])
        candidate=false;
       break;
    }
  }
  if (candidate){
    ++ans;
  }
}
cout>>ans>>endl;
return 0;
}
      
    