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

cnt =0
cnt_a =0

for i in range(N):
    if i==0:
        cnt+=1
    for j in range(i-1):
        if H_list[i]>=H_list[j]:
            cnt_a=1
        else:
            cnt_a=0
    cnt +=cnt_a

print(cnt)


