N = int(input()) a0 = int(input()) ans = 1 print(ans) for i in range(N - 1): a = int(input()) if a > a0: ans += 1 print(ans)