import numpy as np

number_of_mt=int(input())
mt_height=(int(x) for x in input().split())
sum=1

for i in range(number_of_mt+1):
	for j in range(i):
  		if a[i]<a[j]: 
     	  break
        elif j=i-1 and a[i]>=a[j]:
          sum+=1
        else:
          continue
          
print(sum)
          
	
	