N = int(input())
H = input().split()
maxH = H[0]
look = 1
for i in range(N-1):
  if N == 1:
    print(look)
  elif H[i+1] >= maxH:
    look = look + 1
    maxH = H[i+1]
  else:
    maxH = maxH
print(look)