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

counter = 1
for i in range(N-1):
    check = True
    for j in range(N-2):
        if(H[j]<=H[i+1]):
            pass
        else:
            check = False
            break
    if(check):
        counter += 1

print(counter)

