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