import sys n=int(input()) a=[int(sys.stdin.readline())for _ in [None]*n] ans=1 for i in range(n): if a[0] < a[i]: ans+=1 print(ans)