N = int(input())
list = []
for i in range(N):
  list.append(int(input()))

M = 1


for i in range(1, N):
  k = list[i]
  t_list = list[0:i+1]
  a_list = sorted(t_list, reverse=True)
  if a_list[0] == k:
    M += 1

print(M)