n = int(input())
hlist = input().split(' ')
counter = 0
 
for i in range(n):
    judge = False
    for j in range(i + 1):
        if hlist[j] <= hlist[i]:
            judge = True
        else:
            judge = False
            break
        if j == i and judge == True:
            counter = counter + 1
print(counter)