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

ans = 0
if N > 1:
    for i in range(1, N):
        if (H[i] >= H[0]) and (H[i] >= H[1]) and (H[i] >= H[i - 1]):
            ans += 1

print(ans + 1)
