n = int(input())
h = list(map(int, input().split()))

a = 0
b = 0

for i in range(n):
  for j in range(0, i-1):
    if h[j] >= h[i]:
      break
    else:
      a = a + 1
  a = 0
  if a == i:
    b = b + 1

print(b)