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

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



ans = 0

for hh in h:

    if hh >= k:

        ans += 1

print(ans)

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

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



print((len(tuple([x for x in h if x >= k]))))

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

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

-ans = 0 -for hh in h: -    if hh >= k: -        ans += 1 -print(ans) +print((len(tuple([x for x in h if x >= k]))))