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