n,k=list(map(int,input().split()))

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

cnt=0

for i in range(n):

  if l[i]>=k: cnt+=1

print(cnt)
n,k = list(map(int,input().split()))

print((sum([i>=k for i in map(int,input().split())])))
n, k = list(map(int, input().split()))
l = list(map(int, input().split()))
cnt = 0
for i in range(n):
    if l[i] >= k:
        cnt += 1
print(cnt)

n, k = list(map(int, input().split()))
print((sum([i >= k for i in map(int, input().split())])))

-l = list(map(int, input().split())) -cnt = 0 -for i in range(n): -    if l[i] >= k: -        cnt += 1 -print(cnt) +print((sum([i >= k for i in map(int, input().split())])))