import numpy as np

 

N,K = [int(s) for s in input().split()]

heights = np.array([int(s) for s in input().split()])

 

print((sum(heights >= K)))
def LI():

  return [int(s) for s in input().split()]



N,K = LI()



h_s = LI()

h_s.sort(reverse = True)



count = 0



for h in h_s:

  if h  < K:

    break

  count+=1

  

print(count)

import numpy as np

N, K = [int(s) for s in input().split()]
heights = np.array([int(s) for s in input().split()])
print((sum(heights >= K)))

def LI():
    return [int(s) for s in input().split()]


N, K = LI()
h_s = LI()
h_s.sort(reverse=True)
count = 0
for h in h_s:
    if h < K:
        break
    count += 1
print(count)

-import numpy as np +def LI(): +    return [int(s) for s in input().split()] -N, K = [int(s) for s in input().split()] -heights = np.array([int(s) for s in input().split()]) -print((sum(heights >= K))) + +N, K = LI() +h_s = LI() +h_s.sort(reverse=True) +count = 0 +for h in h_s: +    if h < K: +        break +    count += 1 +print(count)