n=int(input()) a=int(input()) p=1 print(p) for i in range(1,n): b=int(input()) p+=b>a print(p)