n = input()
hights = input().split()
result = 1
if max(hights) == hights[0]:
  print(1)
else:
  for idx, h in enumerate(hights):
    tmp = 0
    total = 0
    for i in hights[:idx]:
      total += 1
      if i < h:
        tmp += 1
    if tmp == total:
      result += 1
  print(result)