N = int(input()) K = int(input()) rank = 1 print(rank) for i in range(N - 1): a = int(input()) if a > K: rank += 1 print(rank)