N = int(input())
heights = [int(i) for i in input().split(' ')]
fm = heights[0]
res = 1
if len(heights) > 1:
  for i in range(N):
      if i == 0:
          continue
      if heights[i] > fm:
          res += 1
  print(res)
else:
  print(res)