import bisect
N, K = map(int, input().split())
H = list(map(int, input().split()))
H.sort()

print(N-bisect.bisect_left(H, K)) import bisect bisect 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() H.sort H sort print(N-bisect.bisect_left(H, K)) print N-bisect.bisect_left(H, K) N bisect.bisect_left(H, K) bisect.bisect_left bisect bisect_left H K H = list(map(int, input().split())) list(map(int, input().split())) H N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
import bisect
N, K = map(int, input().split())
H = list(map(int, input().split()))
H.sort()

print(N-bisect.bisect_left(H, K))