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

can_see_ocean = 1

for i in range(1 , N+1):
    compare_high = H[0:i+1]
    if max(compare_high) == H[i-1]:
        can_see_ocean += 1
        
print(can_see_ocean)