using System;
using System.Reflection;

namespace study4
{
    class Program
    {
        static void Main(string[] args)
        {
            int N = int.Parse(Console.ReadLine());
            string[] input = Console.ReadLine().Split(' ');
            int[] A = new int[20];
            for (int count = 0; count < N;)
            {
                A[count] = int.Parse(input[count]);
                count++;
            }
            int ans = 1;
            int flag = A[0];
            for (int t = 1; t < N;)
            { if (flag <= A[t]) 
                {
                    ans++;
                }
                t++;

            }
            Console.WriteLine(ans);
            

        }
    }
}