function main(input) {
const args = input.split('\n');
const heights = args[1].split(' ');
const N = parseInt(args[0],10);
var answer = 0;
for( var i = 0 ; i <= N ; ++i ){
var check =0
for( var k = 0 ; k<= i - 1; ++k){
if ( parseInt(heights[k - 1],10) <= parseInt(heights[i - 1],10) ){
++check;}
}
if(check === i-1){++answer;}
}
console.log(answer);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
