n=gets.to_i
h=gets.chomp.split(" ").map(&:to_i)

ocean_view_count=1

for i in 1..n-1 do
    can_view=1
    for j in 0..i-1 do
        if h[j]>h[i]
            can_view=0
        end
    end
    ocean_view_count+=can_view
end

puts ocean_view_count