n, k = map(int, input().split())
h = list(map(int, input().split()))
h.sort(reverse=True)
a = 0
for hh in h:
    if hh >= k:
        a += 1
    else:
        break
print(a) n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h = list(map(int, input().split())) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split h.sort(reverse=True) h.sort h sort reverse=True reverse True a = 0 a 0 for hh in h:
    if hh >= k:
        a += 1
    else:
        break hh h if hh >= k:
        a += 1
    else:
        break hh >= k hh k a += 1 a 1 break print(a) print a n, k = map(int, input().split()) map(int, input().split()) n a += 1 1 a k = map(int, input().split()) map(int, input().split()) k h = list(map(int, input().split())) list(map(int, input().split())) h a = 0 0 a
n, k = map(int, input().split())
h = list(map(int, input().split()))
h.sort(reverse=True)
a = 0
for hh in h:
    if hh >= k:
        a += 1
    else:
        break
print(a)
