N=int(input()) alpha=int(input()) K=1 print(1) for _ in range(N-1): a=int(input()) if a>alpha: K+=1 print(K)