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

ans = 0
for i in range(N):
    c = 0
    for j in range(i-1):
        if H[i]>=H[j]:
            c += 1
    if c == i-1:
         ans += 1
print(ans)
