N = int(input()) A = [int(input()) for i in range(N)] rank = 1 k = A[0] for a in A : if k < a : rank += 1 print(rank)