import java.util.*

fun main(args:Array<String>) {
    val scn= Scanner(System.`in`)
    val n=scn.nextInt()
    var h=IntArray(n)
    var cnt=0
    for (i in 0 until n){
        h[i]=scn.nextInt()
        for (j in 0 until i){
            if (h[j]>h[i]) break
            if (j==i-1)cnt++
        }
    }
    println(cnt+1)
}
