N = int(input())
height =  list(map(int,input().split()))
output = 1
if N == 1:
  print(output)
else:
  for i in range(len(height)-1):
    if height[i+1] >= max(height[0:i+1]):
      output += 1
print(output)
