object Main extends App {
  var N = readInt - 1
  var get = readLine.split(" ")
  var sum =1
  var flag = get(0).toInt
  for(i <- 1 to N)
  {
    if(flag <= get(i).toInt) {
       sum = sum + 1
      flag = get(i).toInt
    }
  }
    println(sum)
}