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