n, k = (int(i) for i in input().split())
list_h = sorted([int(i) for i in input().split()])
if list_h[-1] < k:
    print("0")
    exit()
count = 0
for count in range(0, n):
    if list_h[count] >= k: break
print(len(list_h[count:])) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i n, k = (int(i) for i in input().split()) n (int(i) for i in input().split()) k int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i list_h = sorted([int(i) for i in input().split()]) list_h sorted([int(i) for i in input().split()]) sorted [int(i) for i in input().split()] if list_h[-1] < k:
    print("0")
    exit() list_h[-1] < k list_h[-1] list_h -1 k print("0") print "0" exit() exit count = 0 count 0 for count in range(0, n):
    if list_h[count] >= k: break count range(0, n) range 0 n if list_h[count] >= k: b list_h[count] >= k list_h[count] list_h count k print(len(list_h[count:])) print len(list_h[count:]) len list_h[count:] list_h count: count list_h = sorted([int(i) for i in input().split()]) sorted([int(i) for i in input().split()]) list_h k = (int(i) for i in input().split()) (int(i) for i in input().split()) k n, k = (int(i) for i in input().split()) (int(i) for i in input().split()) n count = 0 0 count
n, k = (int(i) for i in input().split())
list_h = sorted([int(i) for i in input().split()])
if list_h[-1] < k:
    print("0")
    exit()
count = 0
for count in range(0, n):
    if list_h[count] >= k: break
print(len(list_h[count:]))