N = int(input()) K = int(input()) r = 1 print(r) for _ in range(N-1): r += K < int(input()) print(r)