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

for i in range(1, n):
    no_flag = 0
    for j in range(i-1):
        if h[j] > h[i]:
            no_flag = 1
        else:
            pass
    if no_flag == 0:
        total += 1

print(total)