n=int(input()) k=int(input()) cnt=1 print(1) for i in range(n-1): a=int(input()) if a > k: cnt+=1 print(cnt)