# coding: utf-8 n=int(input()) l=int(input()); v=1; print(1) for i in range(n-1): d=int(input()) if d>l: v+=1 print(v)