# -*- coding:utf-8 -*-

n = int(input())
h = input().split()
count = 0

for i in range(n):
    flag = 0
    #print(i)
    for j in range(i):
        if h[i] < h[i-1-j]:
            #print("{} {}".format(h[i-j], h[i]))
            flag = 1
            break
    if flag == 0:
        count += 1

print(count)