"""

author : halo2halo

date : 9, Jan, 2020

"""



import sys



read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



# N = int(readline())

# D = [int(d) for d in readline().split()]



import numpy as np



N, K = list(map(int, readline().split()))

h = [int(x) - K for x in readline().split()]

ha = np.array(h)



print((np.count_nonzero(ha >= 0)))

"""

author : halo2halo

date : 9, Jan, 2020

"""



import sys



read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



# N = int(readline())

# D = [int(d) for d in readline().split()]



import numpy as np



N, K = list(map(int, readline().split()))

h = [int(x) - K for x in readline().split()]



# ha = np.array(h)



print((len([x for x in h if x >= 0])))

"""
author : halo2halo
date : 9, Jan, 2020
"""
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
# N = int(readline())
# D = [int(d) for d in readline().split()]
import numpy as np

N, K = list(map(int, readline().split()))
h = [int(x) - K for x in readline().split()]
ha = np.array(h)
print((np.count_nonzero(ha >= 0)))

"""
author : halo2halo
date : 9, Jan, 2020
"""
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
# N = int(readline())
# D = [int(d) for d in readline().split()]
import numpy as np

N, K = list(map(int, readline().split()))
h = [int(x) - K for x in readline().split()]
# ha = np.array(h)
print((len([x for x in h if x >= 0])))

-ha = np.array(h) -print((np.count_nonzero(ha >= 0))) +# ha = np.array(h) +print((len([x for x in h if x >= 0])))