N = gets.to_i
H = gets.split(" ").map(&:to_i)

ans = 0
nishi = []
N.times { |i|
  if nishi.size == 0
    ans += 1
  else
    if nishi.max <= H[i]
      ans += 1
    end
  end
  nishi << H[i]
}

puts ans
