N = int(input())
H = list(map(int,input().split()))

ans = 1
if(N >= 2):
    if(H[1] > H[0]):
        ans += 1

if(N >= 3):
    for i in range(2,N):
        if(H[i] >= max(H[:i-1])):
            ans += 1

print(ans)
