let n=Int(readLine()!)!
let arr=readLine()!.characters.split{$0==" "}.map{Int(String($0))!}

var i = 0
var ans = 1

for i in 1..<n {
  var j = 0
  var m = i
  var found = true
  
  for j in 0...m {
    if( arr[j] < arr[i] ) {
      found = false
      break
    }
  }
  
  if (found) {
    ans += 1
  }
}

print(ans)