n = gets.to_i
height = gets.split(' ').map &:to_i

res = 0
height.each_with_index do |m, i|
    if i == 0
        res += 1
        next
    end

    flag = true
    (0..(i - 1)).each do |j|
        if m < height[j]
            flag = false
            break
        end
    end

    res += 1 if flag
end

puts res