N = int(input())
h_list = input().split()
GetView = 0

for i in range(N):
    count = 1
    
    for j in range(i):
        
        if h_list[j] > h_list[i]:
            count -= 1
            break;

    if count == 1:
        GetView += 1

print(GetView)