object Main extends App {

  val N = io.StdIn.readLine.toInt
  val h = io.StdIn.readLine.split(' ').map(_.toInt)

  var num = 0

  val ms = (1 until h.size).filter{i =>
    (0 to i-1).forall(j => h(j) <= h(i))
  }.size

  println(ms + 1)
}