package main

import (
	"fmt"
)

func main() {
	var n int
	fmt.Scan(&n)
	hs := make([]int, n)
	for i := range hs {
		fmt.Scan(&hs[i])
	}

	var count int
	if n == 1 {
		count = 1
	} else {
		for i := 1; i < n; i++ {
			if f(hs, i) {
				count++
			}
		}
	}

	fmt.Print(count)
}

func f(hs []int, idx int) bool {
	h := hs[idx]
	for i := 0; i < idx; i++ {
		if h < hs[i] {
			return false
		}
	}
	return true
}
