#!/usr/bin/ruby
# encoding: utf-8

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

ans = 0
flag = true
(0..n-1).each do |i|
  (0..i-1).each do |j|
    if h[i] < h[j] then
      flag = false
    end
  end
  
  if flag == true then
    ans += 1
  end

  flag = true
end

puts ans
