inn_num = int(input())
if inn_num >= 1 and inn_num <= 20: 
    inn_height = [int(input()) for i in range(inn_num)]
    
count = 0
for h in inn_height:
    if h >= inn_height[0]:
        count += 1

print(count)