import sys


def input(): return sys.stdin.readline().strip()
def I(): return int(input())
def LI(): return list(map(int, input().split()))
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def S(): return input()
def LS(): return input().split()


n, k = LI()
h = LI()
h.sort()
ans = len([hi for hi in h if hi >= k])
print(ans) import sys sys def input(): return sys.stdin.readline().strip() input def I(): return int(input()) I def LI(): return list(map(int, input().split())) LI I() for i in range(n) for i in range(n) i range(n) range n for i in range(n) I() I def IR(n): return [I() for i in range(n)] IR n n LI() for i in range(n) for i in range(n) i range(n) range n for i in range(n) LI() LI def LIR(n): return [LI() for i in range(n)] LIR n n S() for i in range(n) for i in range(n) i range(n) range n for i in range(n) S() S def SR(n): return [S() for i in range(n)] SR n n def S(): return input() S def LS(): return input().split() LS n, k = LI() n LI() LI k h = LI() h LI() LI h.sort() h.sort h sort hi for hi in h if hi >= k for hi in h if hi >= k hi h hi >= k hi k if hi >= k hi ans = len([hi for hi in h if hi >= k]) ans len([hi for hi in h if hi >= k]) len [hi for hi in h if hi >= k] print(ans) print ans k = LI() LI() k def I(): return int(input()) def I(): return int(input()) I def LI(): return list(map(int, input().split())) def LI(): return list(map(int, input().split())) LI h = LI() LI() h ans = len([hi for hi in h if hi >= k]) len([hi for hi in h if hi >= k]) ans def SR(n): return [S() for i in range(n)] def SR(n): return [S() for i in range(n)] SR n, k = LI() LI() n def IR(n): return [I() for i in range(n)] def IR(n): return [I() for i in range(n)] IR def LIR(n): return [LI() for i in range(n)] def LIR(n): return [LI() for i in range(n)] LIR def S(): return input() def S(): return input() S def LS(): return input().split() def LS(): return input().split() LS def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input
import sys


def input(): return sys.stdin.readline().strip()
def I(): return int(input())
def LI(): return list(map(int, input().split()))
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def S(): return input()
def LS(): return input().split()


n, k = LI()
h = LI()
h.sort()
ans = len([hi for hi in h if hi >= k])
print(ans)
