N = int(input()) a = [int(input()) for i in range(N)] ans = 1 for i in range(N): if a[0] < a[i]: ans+=1 print(ans)