import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val n = sc.nextInt()
  val h = (1..n).map { sc.nextInt() }.toIntArray()

  var count = 1
  for (i in 1 until n) {
    val hi = h[i]
    var ok = true
    for (j in 0 until i) {
      val hj = h[j]
      if (hj > hi) {
        ok = false
        break
      }
    }
    if (ok) count++
  }

  println(count)
}
