n = int(input())
h = list(map(int,input().split()))
count = 0
ans = 0
sum_h = 0

for i in range(1,n):
    for j in range(i):
        sum_h += h[j]
        count += 1
        num = j+1
    if sum_h <= h[i] * num:
        ans += 1
    sum_h = 0
    count = 0
print(ans+1)
    