N = int(input())
H = list(map(int, input().split()))
result = 1
 
for i in range(N):
    dec = True
    for j in range(i-1):
        if H[i] <= H[j]:
            dec = False
            break
    if dec == True:
        result += 1
print(result)