using System;
					
public class Program
{
	public static void Main()
	{
		int a;
		a = int.Parse(Console.ReadLine());
        string[] str = Console.ReadLine().Split(' ');
		int[] i = new int[str.Length];
		for(int x=0;x < str.Length ; x++){
			i[x] = int.Parse(str[x]);
		}
		int max = i[0];
		int count = 1;
		for(int y = 1; y < str.Length; y++){
			if(i[y] >= max) count++;
		}
		Console.WriteLine(count);
	}
}