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