n = int(input())
h = map(int, input().split())

ans = 1
m = n-1
high = h[0]

for i in range(m):
    if h[i+1] >= high:
        ans += 1
        high = h[i+1]
    else:
        continue
        

print(ans)

