
n = int(input())
h = list(map(int,input().split()))

ans = 1

for i in range(1,n):
    for j in range(0,i-1):
        if h[i] < h[j]:
            pass
        else:
            ans += 1
            break

print(ans)
