object Main extends App {
	val n = scala.io.StdIn.readInt
	val h = scala.io.StdIn.readLine.split(" ").map(_.toInt)

	var high = h(0)
	var cnt = 1

	for(i<-1 until n){
		if(h(i) >= high){
			cnt += 1
			high = h(i)
		}
	}

	println(cnt)
}
