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

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

count = 0

for i in h:

  if i >= k:

    count += 1

    

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

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

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

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

-count = 0 -for i in h: -    if i >= k: -        count += 1 -print(count) +print((len([i for i in h if i >= k])))