

inputA =  list(map(int,input().split()))

inputB =  list(map(int,input().split()))



humancount = inputA[0]

talllimit = inputA[1]

anser = 0



for count in range(0,humancount):

    if inputB[count] >= talllimit:

        anser += 1





print(anser)
ip= list(map(int, input().split()))



N = ip[0]

K = ip[1]



h = list(map(int, input().split()))

ans = 0

for tall in h:

    if tall >= K:

        ans +=1



print(ans)
inputA = list(map(int, input().split()))
inputB = list(map(int, input().split()))
humancount = inputA[0]
talllimit = inputA[1]
anser = 0
for count in range(0, humancount):
    if inputB[count] >= talllimit:
        anser += 1
print(anser)

ip = list(map(int, input().split()))
N = ip[0]
K = ip[1]
h = list(map(int, input().split()))
ans = 0
for tall in h:
    if tall >= K:
        ans += 1
print(ans)

-inputA = list(map(int, input().split())) -inputB = list(map(int, input().split())) -humancount = inputA[0] -talllimit = inputA[1] -anser = 0 -for count in range(0, humancount): -    if inputB[count] >= talllimit: -        anser += 1 -print(anser) +ip = list(map(int, input().split())) +N = ip[0] +K = ip[1] +h = list(map(int, input().split())) +ans = 0 +for tall in h: +    if tall >= K: +        ans += 1 +print(ans)