function Main(input) {
  var list = input.split("\n");
  var N = parseInt(list[0]);
  var Hlist = list[1].split(" ");
  var H = Array(N);
  var check;
  var ans = 0;
  
  for(i=0;i<N;i++){
    H[i] = parseInt(Hlist[i]);
  }
  
  for(i=0;i<N;i++){
    check = 0;
    for(j=0;j<i;j++){
      if(H[i]<H[j])check = 1;
    }
    if (check == 0) ans++;
  }
    
    
  console.log(ans);
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));