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