def main():
    n = int(input())
    h_n = [int(s) for s in input().split()]

    for idx in range(1, n):
        diff = [h_n[idx] - h_n[i] for i in range(0, idx-1)]
        diff = filter(lambda x: x >= 0, diff)

    print(len(list(diff)) + 1)
    
main()