n, k = map(int, input().rstrip().split())
h = [int(v) for v in input().rstrip().split()]
h.sort()
r = 0
for i in range(len(h)):
	if k <= h[i]:
		r = len(h) - i
		break

print(r) n, k = map(int, input().rstrip().split()) n map(int, input().rstrip().split()) map int input().rstrip().split() ().rstrip().split ().rstrip() ().rstrip () input rstrip split k int(v) for v in input().rstrip().split() for v in input().rstrip().split() v input().rstrip().split() ().rstrip().split ().rstrip() ().rstrip () input rstrip split for v in input().rstrip().split() int(v) int v h = [int(v) for v in input().rstrip().split()] h [int(v) for v in input().rstrip().split()] h.sort() h.sort h sort r = 0 r 0 for i in range(len(h)):
	if k <= h[i]:
		r = len(h) - i
		break i range(len(h)) range len(h) len h if k <= h[i]:
		r = len(h) - i
		break k <= h[i] k h[i] h i r = len(h) - i r len(h) - i len(h) len h i break print(r) print r n, k = map(int, input().rstrip().split()) map(int, input().rstrip().split()) n h = [int(v) for v in input().rstrip().split()] [int(v) for v in input().rstrip().split()] h r = 0 0 r r = len(h) - i len(h) - i r k = map(int, input().rstrip().split()) map(int, input().rstrip().split()) k
n, k = map(int, input().rstrip().split())
h = [int(v) for v in input().rstrip().split()]
h.sort()
r = 0
for i in range(len(h)):
	if k <= h[i]:
		r = len(h) - i
		break

print(r)
