using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using static System.Math;
class Program
{
    public static void Main(string[] args)
    {
        Console.ReadLine();
        var v = Console
            .ReadLine()
            .Split(' ')
            .Select(x => int.Parse(x))
            .ToArray();
        var count = 1;
        var hOld = v[0];
        foreach (var h in v.Skip(1))
        {
            if (h >= hOld)
            {
                count++;
            }
        }
        Console.WriteLine(count);
    }
}