N = int(input())

tmp = input().split()
H = []
for i in range(len(tmp)):
  H.append(int(tmp[i]))

ans = 0
for i in range(len(H)):
  if i == 0: ans += 1
  if i >= 1 and H[i] >= H[0] and H[i] >= H[i - 1]: ans += 1

print(ans)   

