N, K, *h = list(map(int, open(0).read().split()))

print((sum(1 for i in [x for x in h if K <= x])))

N, K, *h = list(map(int, open(0).read().split()))

print((sum([1 for i in h if K <= i])))

N, K, *h = list(map(int, open(0).read().split()))
print((sum(1 for i in [x for x in h if K <= x])))

N, K, *h = list(map(int, open(0).read().split()))
print((sum([1 for i in h if K <= i])))

-print((sum(1 for i in [x for x in h if K <= x]))) +print((sum([1 for i in h if K <= i])))