import java.util.*

fun main(args: Array<String>) {
	val scanner = Scanner(System.`in`)
	var ans = 0
	var min = Int.MIN_VALUE
	for (i in 0 until scanner.nextInt()) {
		val height = scanner.nextInt()
		if (min <= height) {
			min = height
			ans++
		}
	}
	println(ans)
	scanner.close()
}