using System;

class Prgram
{
  static void Main(string[] args)
  {
    int N = int.Parse(Console.ReadLine());
    string[] nums = Consle.ReadLine().Split(' ');
    int count = 0;
    int h = 0;
    
    for(int i = 0; i < N; i++)
    {
      if(h <= int.Parse(nums[i]))
      {
        h = nums;
        count++;
      }
    }
    Console.WriteLine(count);
  }
}