using System;
using System.Collections.Generic;
using System.Linq;

namespace AtCoder
{
    class Program
    {
        static void Main(string[] args)
        {
            //[summary]B - Great Ocean View
            int n = int.Parse(Console.ReadLine());
            var h = ReadLine();
            int views = 1;
            
            for(int i = 1; i < n; i++)
            {
                if (h[i] >= h[i - 1] && h[i] >= h[0])
                {
                    views++;
                }
            }

            Console.WriteLine(views);
        }

        static List<int> ReadLine()
        {
            var line = Console.ReadLine();
            var array = line.Split(' ');

            return array.Select(x => int.Parse(x)).ToList();
        }
    }
}