# coding = SJIS
n = int(input())
h = list(map(int, input().split()))
ans = 1
for i in range(1, n - 1):
    kai = 0
    for j in range(0, i - 1):
        if h[j] <= h[i]:
            kai += 1
        else:
            kai += 0
    if kai == i - 1:
        ans += 1
    else:
        ans += 0
print(ans)