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