a = gets.to_i
arr = gets.chomp.split(" ").map(&:to_i)

tallest = arr[0]
count = 1

1.upto(arr.length-1) do |i|
  if arr[i] > arr[i-1] && arr[i] >= tallest
    count += 1
  end
  if arr[i] > tallest
    tallest = arr[i] 
  end
end

print count