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