N, K = list(map(int, input().split()))

heights = [int(x) for x in input().split()]



ans = 0

for i in heights:

    if i >= K:

        ans += 1

print(ans)
N, K = list(map(int, input().split()))

heights = [int(x) for x in input().split()]

print((len([i for i in heights if i >= K])))
N, K = list(map(int, input().split()))
heights = [int(x) for x in input().split()]
ans = 0
for i in heights:
    if i >= K:
        ans += 1
print(ans)

N, K = list(map(int, input().split()))
heights = [int(x) for x in input().split()]
print((len([i for i in heights if i >= K])))

-ans = 0 -for i in heights: -    if i >= K: -        ans += 1 -print(ans) +print((len([i for i in heights if i >= K])))