-- B
local N = io.read("n")
local H = {}
for i=1,N do H[i] = io.read("n") end
local ans = 1
local max = H[1]
for i=2,N do
    if H[i] >= max then
        ans = ans + 1
        max = H[i]
    end
end
print(ans)