N = int(input()) A = [int(input()) for _ in range(N)] ans = 1 for a in A: if a > A[0]: ans += 1 print(ans)