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

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

  

h_=[i for i in h if i >= k]



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

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

ans = 0

for h in H:

    if h >= k:

        ans += 1

print(ans)
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
h_ = [i for i in h if i >= k]
print((len(h_)))

n, k = list(map(int, input().split()))
H = list(map(int, input().split()))
ans = 0
for h in H:
    if h >= k:
        ans += 1
print(ans)

-h = list(map(int, input().split())) -h_ = [i for i in h if i >= k] -print((len(h_))) +H = list(map(int, input().split())) +ans = 0 +for h in H: +    if h >= k: +        ans += 1 +print(ans)