N = int(input())
H = input().split()
i = int(0)
j = int(0)
n = int(1)
m = int(0)
for i in range(N-1):
    for j in range(i):
        if H[i] >= H[j]:
            m = m + 1
    if m == i:
        n = n + 1
print(n)