N = int(input())

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

cansee = False
count = 0

for i in range(N-1):
    cansee = True
    for j in range(i):
        if H[j] > H[i]:
            cansee = False
    if cansee:
        count += 1

print(count)