n = int(input()) a0 = int(input()) r = 1 print(r) for i in range(1, n): if int(input()) > a0: r += 1 print(r)