N=int(input()) a=int(input()) print(1) now=1 for i in range(N-1): x=int(input()) if x>a: now+=1 print(now)