#ABC124 B
N = int(input())
H = list(map(int, input().split()))
ans = 1
for i in range(N):
    i_bool = True
    for j in range(1,i):
        if not H[j-1] <= H[j]:
            i_bool = False
    if i_bool:
        ans+=1
print(ans)                    