n,k=list(map(int, input().split()))
h=list(map(int, input().split()))
h.sort()
out=0
for i in h:
    if i < k:
        out+=1
    else:    
        break
out=n-out
print(out) n,k=list(map(int, input().split())) n list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split k h=list(map(int, input().split())) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split h.sort() h.sort h sort out=0 out 0 for i in h:
    if i < k:
        out+=1
    else:    
        break i h if i < k:
        out+=1
    else:    
        break i < k i k out+=1 out 1 break out=n-out out n-out n out print(out) print out n,k=list(map(int, input().split())) list(map(int, input().split())) n out+=1 1 out k=list(map(int, input().split())) list(map(int, input().split())) k out=0 0 out out=n-out n-out out h=list(map(int, input().split())) list(map(int, input().split())) h
n,k=list(map(int, input().split()))
h=list(map(int, input().split()))
h.sort()
out=0
for i in h:
    if i < k:
        out+=1
    else:    
        break
out=n-out
print(out)