Problem:
 Score : 200 points    Problem Statement  N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i -th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?      Constraints   1 \le N \le 10^5  1 \le K \le 500  1 \le h_i \le 500  All values in input are integers.         Input  Input is given from Standard Input in the following format:  N  K  h_1  h_2  \ldots  h_N       Output  Print the number of people among the Takahashi's friends who can ride the roller coaster.        Sample Input 1 4 150
150 140 100 200      Sample Output 1 2  Two of them can ride the roller coaster: the first and fourth friends.       Sample Input 2 1 500
499      Sample Output 2 0       Sample Input 3 5 1
100 200 300 400 500      Sample Output 3 5

Solution (Python):
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))

s = 0
for x in h:
    if x >= k:
        s += 1

print(s)

Solution (Python):
N,K=map(int,input().split())
import numpy as np
h=np.array(list(map(int,input().split())))
print(sum(h>=K))

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
print(len([x for x in h if x >= k]))

Solution (Python):
N, K = map(int, input().split())
H = list(map(int, input().split()))

count = 0
for h in H:
    if h >= K:
        count += 1

print(count)

Solution (Python):
n, k = list(map(int, input().split()))
list = list(map(int, input().split()))
ans = [l for l in list if l >= k]

print(len(ans))

Solution (Python):
n, k = list(map(int, input().split()))
h = list(map(int, input().split()))
print(len(list(filter(lambda x: x >= k, h))))

Solution (Python):
N,K = map(int,input().split())
H = list(map(int,input().split()))
res = 0

for i in range(N):
  if H[i]>=K:
    res += 1
    
print(res)

Solution (Python):
N, K = map(int, input().split(' '))
h_ls = map(int, input().split(' '))
cnt = 0
for i in h_ls:
    if i >= K:
        cnt += 1
print(cnt)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = len([i for i in h if i >= k])
print(ans)

Solution (Python):
N, K = list(map(lambda n: int(n), input().split(" ")))
h = list(map(lambda x: int(x), input().split(" ")))
print(len(list(filter(lambda height: height >= K, h))))

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))

ans = 0
for i in h:
    if i >= k:
        ans += 1
print(ans)

Solution (Python):
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)

Solution (Python):
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import random

n,k=INPUT()
A=INPUT()
ans=0
for i in A:
    if i>=k:
        ans+=1
print(ans)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
cnt = 0

for i in range(n):
    if h[i] >= k:
        cnt += 1

print(cnt)

Solution (Python):
MM = input().split()
N = int(MM[0])
K = int(MM[1])
HH = input().split()
total = 0
for i in HH:
  if int(i) >= K:
    total +=1
print(total)

Solution (Python):
n,k = map(int, input().split())
h = list(map(int, input().split()))

num = 0
for i in range(n):
    if k <= h[i] :
        num += 1
print(num)

Solution (Python):
n,k=map(int, input().split())

h=list(map(int, input().split()))

cnt=0

for i in range(n):
    if h[i]>=k:
        cnt += 1

print(cnt)

Solution (Python):
n,k=map(int,input().split())
h=list(map(int,input().split()))
ans=0
for i in h:
    if i>=k:
        ans+=1
print(ans)

Solution (Python):
N, K = map(int, input().split())
H = list(map(int, input().split()))

print(sum([1 if h >= K else 0 for h in H]))

Solution (Python):
N, K = map(int, input().split())
H = list(map(int, input().split()))
res = 0
for h in H:
    if h >= K:
        res += 1
print(res)

Solution (Python):
n,k=map(int,input().split())
h=list(map(int,input().split()))
print(len([i for i in h if i>=k]))

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))

h.sort()
ans = len(h)

for height in h:
    if height < k:
        ans -= 1
    else:
        print(ans)
        exit()

print(ans)

Solution (Python):
N, K = map(int, input().split())
H = list(map(int, input().split()))
ans = 0
for i in range(N):
    if H[i] >= K:
        ans += 1
print(ans)

Solution (Python):
N, K = map(int, input().split())
A = list(map(int, input().split()))

ans = 0
for i in range(N):
    if A[i] >= K:
        ans += 1

print(ans)

Solution (Python):
N,K=list(map(int, input().split()))
H=list(map(int, input().split()))
print(len([h for h in H if h >= K]))

Solution (Python):






n,k = map(int, input().split())
h = list(map(int, input().split()))

ans = 0
for i in range(n):
    if h[i] >= k:
        ans += 1
print(ans)

Solution (Python):
def main():
  n,k= list(map(int,input().split()))
  h= list(map(int,input().split()))
  ans=0
  for i in range(0,n):
    if h[i]>=k:
      ans+=1
  print(ans)

main()

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
cnt = 0
for i in range(n):
    if h[i]>=k:
        cnt +=1
print(cnt)

Solution (Python):
n,m=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in h:
    if i>=m:
        count+=1
print(count)

Solution (Python):
n,k = map(int,input().split())
h = [int(s) for s in input().split()]
count = 0
for i in range(n):
    if h[i] >= k:
        count += 1
print(count)

Solution (Python):


def main():

    N, K = map(int, input().split())
    h = list(map(int, input().split()))

    ans = 0

    for i in h:
        if i >= K:
            ans += 1

    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):
n,k = map(int,input().split())
l = list(map(int,input().split()))

cnt = 0
for i in l:
  if i >= k:
    cnt += 1

print(cnt)

Solution (Python):
N, K = map(int,input().split())
h = list(map(int,input().split()))

counter = 0
for i in h:
    if i >= K:
        counter += 1
print(counter)

Solution (Python):
n, k = map(int, input().split())
H = list(map(int, input().split()))

ans = 0
for h in H:
    if h >= k:
        ans += 1

print(ans)

Solution (Python):
from sys import stdin

n, k = [int(x) for x in stdin.readline().rstrip().split()]
h = [int(x) for x in stdin.readline().rstrip().split()]

ans = 0

for hi in h:
    if (hi >= k):
        ans += 1

print(ans)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))

ans = 0
for i in range(N):
    if h[i] >= K: ans += 1
print(ans)

Solution (Python):
n , k = map(int, input().split())
h = list(map(int, input().split()))
h.sort(reverse = True)

for i in range(n):
    if h[i] < k:
        print(i)
        break
else:
    print(n)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))

ans = 0
for i in h:
    if i >= K:
        ans += 1
print(ans)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for i in h:
    if i >= k:
        ans += 1
print(ans)

Solution (Python):



















































global FLAG_LOG
FLAG_LOG = False


def log(value):
    
    
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    
    
    N, K = list(map(int, lines[0].split()))
    values = list(map(int, lines[1].split()))
    
    
    
    
    
    
    

    cnt = 0

    for value in values:
        if value >= K:
            cnt += 1

    return [cnt]



def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines



def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['4 150', '150 140 100 200']
        lines_export = [2]
    if pattern == 2:
        lines_input = ['1 500', '499']
        lines_export = [0]
    if pattern == 3:
        lines_input = ['5 1', '100 200 300 400 500']
        lines_export = [5]
    return lines_input, lines_export



def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode



def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(2)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    
    
    
    
    
    
    
    
    
    
    



if __name__ == '__main__':
    main()

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
ret = 0
for i in h:
    if i >= k:
        ret += 1
print(ret)

Solution (Python):
n,k=map(int,input().split());print(len([i for i in list(map(int,input().split())) if i>=k]))

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in h:
    if i >= K:
        count += 1
print(count)

Solution (Python):
N,K=map(int,input().split())
H=list(map(int,input().split()))
count=0
for h in H:
    if h>=K:
        count+=1
print(count)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in range(N):
    if h[i]>=K:
        count+=1
print(count)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))
ans = 0

for n in range(N):
    if h[n] >= K:
        ans += 1

print(ans)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = 0

for i in range(n):
    if h[i] >= k:
        ans += 1

print(ans)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))
total=0
for i in h:
  if i >= K:
    total+=1
print(total)

Solution (Python):
N,K = map(int,input().split())
h = list(map(int,input().split()))

ans = 0
for i in h:
  if i >= K:
    ans += 1
print(ans)

Solution (Python):
N,K = map(int,input().split())
h = list(map(int,input().split()))
h = sorted(h)

line = 0
bool1 = False
for i in range(N):
  if h[i] >= K:
    line = i
    bool1 = True
    break

if bool1:
  print(N-i)
else:
  print(0)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
print(sum(hi >= k for hi in h))

Solution (Python):
N,K=map(int,input().split())
List = list(map(int, input().split()))
res = 0
for i in range(N):
  if List[i] >= K:
    res +=1
print(res)

Solution (Python):
t = 1


def max(a,b):
	if a > b:
		return a
	return b
while t > 0:
	t -= 1
	n,k = map(int,input().strip().split())
	v = list(map(int,input().strip().split()))[0:n]
	
	ans = 0
	for i in v:
		if i >= k:
			ans += 1
		
		
		
		
	
	print(ans)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
ans=0
for x in h:
  if x>=K:
    ans+=1
print(ans)

Solution (Python):
n,k= map(int,input().split())
h=list(map(int,input().split()))
ans=0
for i in range(n):
  if h[i]>=k:
    ans+=1
print(ans)

Solution (Python):
n,k=map(int,input().split())
L=list(map(int,input().split()))
ans=0
for i in L:
  if i>=k:
    ans+=1
    
print(ans)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
count = 0
for i in range(N):
  if h[i]>=K:count+=1
print(count)

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
count = 0

for i in range(n):
  if h[i] >= k:
    count += 1
print(count)

Solution (Python):
n, k = map(int, input().split())
print(sum(int(i) >= k for i in input().split()))

Solution (Python):
N, K = map(int, input().split())
ans = 0
for h in list(map(int, input().split())):
    ans += (h >= K)
print(ans)

Solution (Python):
N, K = list(map(int,input().rstrip().split()))
H = list(map(int,input().rstrip().split()))
ans = 0
for h in H:
    if h >= K:ans+=1
print(ans)

Solution (Python):
n,k = map(int,input().split())
hl = list(map(int,input().split()))
count = 0

for i in hl:
    if i >= k:
        count+=1
print(count)

Solution (Python):
N, K = map(int, input().split())
print(sum(h>=K for h in map(int, input().split())))

Solution (Python):
n,k=map(int,input().split())
H=list(map(int,input().split()))
print(sum(h>=k for h in H))

Solution (Python):
def main():
    N, K = map(int, input().split())
    l = list(map(int, input().split()))
    a = 0
    for i in range(N):
        if l[i] >= K:
            a = a + 1
    print(a)
main()

Solution (Python):
import sys
N,K = map(int,input().split())
array_hight = list(map(int,input().split()))

if not ( 1 <= N <= 10**5 and 1 <= K <= 500 ): sys.exit()

count = 0
for I in array_hight:
    if not ( 1 <= I <= 500): sys.exit()
    if I >= K:
        count += 1
print(count)

Solution (Python):
n,k=map(int,input().split())
h=list(map(int,input().split()))
cnt=0
for i in range(n):
    if h[i]>=k:
        cnt+=1
print(cnt)

Solution (Python):
n=list(map(int,input().split()))
a=list(map(int,input().split()))
count=0
for i in range(0,len(a)):
    if n[1]<=a[i]:
        count+=1
print(count)

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
ans = sum(h[i] >= k for i in range(n))
print(ans)

Solution (Python):
N,K=map(int, input().split())
d=list(map(int,input().split()))
ans=0
for i in range(N):
    if d[i]>=K:
        ans=ans+1
print(ans)

Solution (Python):
n,k = map(int, input().split())
h = list(map(int, input().split()))
nk = [h for h in h if h >= k]
print(len(nk))

Solution (Python):
n,k=map(int,input().split())
li=list(map(int,input().split()))
ans=0
for i in li:
  if i>=k:
    ans+=1
print(ans)

Solution (Python):
import bisect
N, K = map(int, input().split())
Nlist = list(map(int, input().split()))
Nlist.sort()
okindex = bisect.bisect_left(Nlist, K)
print(N-okindex)

Solution (Python):
def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split())))))

if '__main__' == __name__:
    resolve()

Solution (Python):
N,K=input().split()
print(sum([1 for i in input().split() if int(K)<=int(i)]))

Solution (Python):
n, k = map(int,input().split())
h = list(map(int,input().split()))
x = 0

for i in range(n):
    if h[i] >= k:
        x += 1

print(x)

Solution (Python):
n,k = map(int, input().split())
h = list(map(int, input().split()))
cnt = 0
for i in range(len(h)):
    if h[i]>=k:
        cnt += 1
    else:
        continue
print(cnt)

Solution (Python):
import bisect

n, k = map(int,input().split())
h = list(map(int,input().split()))
h.sort()
i = bisect.bisect_left(h, k)
print(n-i)

Solution (Python):
import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

n,k=mp()
h=lmp()
ans=0
for i in range(n):
    if h[i]>=k:
        ans+=1
print(ans)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))

cnt = 0
for i in range(n):
  if h[i] >= k:
    cnt += 1
    
print(cnt)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in h:
    if i>=K:
        count+=1
print(count)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in range(N):
  if(h[i]>=K):
    count+=1
print(count)

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
print(sum(h[i] >= k for i in range(n)))

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))
H = list(1 for x in h if x >= K)
print(sum(H))

Solution (Python):
import sys
input = sys.stdin.readline
from collections import defaultdict, deque
from bisect import bisect_left

(n, k), s = map(int, input().split()), sorted(list(map(int, input().split())))
print(len(s[bisect_left(s, k):]))

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in range(len(h)):
  if h[i]>=K:
    count+=1
print(count)

Solution (Python):
A,B=map(int,input().split())
N = list(map(int,input().split()))

c=0

for i in range(A):
  if N[i] >= B:
    c+=1
  else:
    pass
  i+=1
print(c)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))

ans = 0
for hi in h:
    if hi >= k:
        ans += 1
print(ans)

Solution (Python):
n,k=map(int,input().split())
H=list(map(int,input().split()))
ans = 0
for h in H:
  if h>=k: ans+=1
print(ans)

Solution (Python):

n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for i in h:
    if i >= k:
        ans += 1
print(ans)

Solution (Python):
import sys

def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  

N,K = LI()
h = LI()

ans = 0
for i in range(N):
    if h[i] >= K:
        ans += 1

print(ans)

Solution (Python):


import sys
import math


from sys import stdin,stdout
from collections import deque,defaultdict
from math import ceil,floor,inf,sqrt,factorial,gcd,log2
from copy import deepcopy
ii1=lambda:int(stdin.readline().strip())
is1=lambda:stdin.readline().strip()
iia=lambda:list(map(int,stdin.readline().strip().split()))
isa=lambda:stdin.readline().strip().split()
mod=int(1e9 + 7)

n,h=iia()
arr=iia()
count=0
for i in range(n):
    if arr[i]>=h:
        count+=1
print(count)

Solution (Python):
n,k = map(int,input().split())
h = [int(i) for i in input().split()]

cnt = 0
for i in range(n):
	if h[i] >= k:
		cnt += 1
print(cnt)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for i in h:
  if i >= k:
    ans += 1
print(ans)

Solution (Python):
N, K = map(int, input().split())
hlist = list(map(int, input().split()))

ans = 0
for h in hlist:
  if h >= K:
    ans += 1

print(ans)

Solution (Python):
import sys

N, K = map(int, sys.stdin.readline().split())
H = map(int, sys.stdin.readline().split())

ans = 0
for h in H:
    if h >= K:
        ans += 1

print(ans)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in range(N):
    if h[i] >= K:
        count += 1
print(count)

Solution (Python):
n,k=map(int,input().split())
h=list(map(int,input().split()))
ans=0
for i in h:
    if(i>=k):
        ans+=1
print(ans)

Solution (Python):
n,k = map(int, input().split())
hl = list(map(int, input().split()))

ans = 0
for h in hl:
    if h >= k: ans+=1
print(ans)

Solution (Python):
n, k = map(int, input().split())
a = list(map(int, input().split()))
print(sum(1 for i in a if (i>=k)))

Solution (Python):
n,k=map(int,input().split())
ls=list(map(int,input().split()))
ans=0
for item in ls:
  if item<k:
    ans+=1
print(n-ans)

Solution (Python):
N,K = map(int,input().split())

import numpy as np 

arr = np.array(input().split(),np.int64)

print(np.count_nonzero(arr>=K))

Solution (Python):
def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K]))


if __name__ == '__main__':
    main()

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
cnt = 0
for i in range(n):
    if h[i] >= k:
        cnt += 1
print(cnt)

Solution (Python):
N,K = map(int,input().split())
H = list(map(int,input().split()))
print(sum(K<=h for h in H))

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
ans =0
for i in range(n):
    if h[i] >= k:
        ans += 1
print(ans)

Solution (Python):
a,b=map(int,input().split())
c=0
l=list(map(int,input().split()))
for i in range(len(l)):
  if l[i]>=b:
    c+=1 
print(c)

Solution (Python):
n,k = map(int,input().split())

h = list(map(int,input().split()))

ans = 0
for i in h :
    if i >= k :
        ans += 1

print(ans)

Solution (Python):
import bisect
n, k = map(int, input().split())
l = list(map(int, input().split()))
l.sort()

a = bisect.bisect(l, k-1)
print(n-a)

Solution (Python):
n,k = map(int, input().split())
ki = list(map(int,input().split()))
count = 0

for i in range(n):
  if ki[i] >= k:
    count += 1
  else:
    pass

print(count)

Solution (Python):
N, K = map(int,input().split())
h = list(map(int,input().split()))
count = 0
for i in h:
  if i >= K:
    count += 1
  else:
    pass
print(count)

Solution (Python):


import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

ans = 0
for h in H:
    if h >= K:
        ans += 1

print(ans)

Solution (Python):
n, k = map(int, input().split())
data = list(map(int, input().split()))
ans = 0
for d in data:
    if d >= k:
        ans += 1

print(ans)

Solution (Python):
import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))



harry=np.array(h)
ans=np.count_nonzero(harry>=K)

print(ans)

Solution (Python):
N,K = map(int,input().split())
H = list(map(int,input().split()))

ans = 0
for h in H:
    if h >= K:
        ans += 1
print(ans)

Solution (Python):
n,k = map(int, input().split())
h = list(map(int, input().split()))

ans = 0

for i in range(n):
    if h[i] >= k:
        ans += 1
    else:
        continue

print(ans)

Solution (Python):
N, K = map(int, input().split())
heights = list(map(int, input().split()))
qualified = 0

for height in heights:
    if height >= K:
        qualified += 1

print(qualified)

Solution (Python):
N,K = map(int,input().split())
h = list(map(int,input().split()))

s = 0
for i in range(N):
    if h[i]>=K:
        s += 1
print(s)

Solution (Python):
n, k = map(int,input().split())
a = list(map(int,input().split()))
cnt = 0
for i in a:
  if i >= k:
    cnt += 1
print(cnt)

Solution (Python):
a, b = map(int, input().split())
c = list(map(int,input().split()[:a]))
d = 0
for i in c:
    if i>=b:
        d+=1
print(d)

Solution (Python):
N, K = map(int, input().split())
H = list(map(int, input().split()))
count = 0
for h in H:
    if h >= K:
        count = count+1
print(count)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))

cnt = 0

for i in range(n):
    if k <= h[i]:
        cnt += 1
print(cnt)

Solution (Python):
N,K = list(map(int,input().split()))
H  = list(map(int,input().split()))
counter = 0
for h in H:
  if h >= K:
    counter += 1
    
print(counter)

Solution (Python):
n, k = map(int, input().split())
h = list(map(int, input().split()))
res = len(list(filter(lambda x: x >= k, h)))
print(res)

Solution (Python):
N,K=input().split()
N=int(N)
K=int(K)
ls=[int(s) for s in input().split()]
count=0
for i in range(N):
  if ls[i]>=K:
    count=count+1
print(count)

Solution (Python):
n,k=[int(s) for s in input().split()]
h=[int(s) for s in input().split()]
count=0
for i in h:
  if i>=k:
    count+=1
print(count)

Solution (Python):

import bisect
n, k = map(int,input().split())
h = list(map(int,input().split()))
h.sort()
ans = n
for i in h:
    if i < k:
        ans -= 1

print(ans)

Solution (Python):
n,k=[int(s) for s in input().split()]
h=[int(j) for j in input().split()]
r=0

for i in range(n):
  if k<=h[i]:
    r=r+1
  

print(r)

Solution (Python):
N, K = map(int,input().split())
H = list(map(int,input().split()))

hum = 0

for h in H:
  if K <= h:
    hum += 1
    
print(hum)

Solution (Python):
n, k = map(int, input().split())
A = list(map(int, input().split()))

total = 0

for i in A:
    if i >= k:
        total += 1
        
print(total)

Solution (Python):
import sys




def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count)



if __name__ == "__main__":
    main()

Solution (Python):


def main():
    N,K = map(int, input().split())
    hights = [int(s) for s in input().split()]
    
    count = 0
    for hight in hights:
        if hight >= K:
            count+= 1
    
    print(count)

if __name__ == "__main__":
    main()

Solution (Python):
n, k = map(int, input().split())
lst = list(map(int, input().split()))
res = 0
for i in range(n):
  if lst[i] >= k:
    res += 1
print(res)

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))
ans = 0
for i in range(N):
  if h[i]>=K:
    ans += 1
print(ans)

Solution (Python):
N, K = map(int, input().split())
h_int_list = list(map(int, input().split()))

ans = 0

for i in h_int_list:
    if K <= i:
        ans += 1

print(ans)

Solution (Python):
"""
    こんにちは。これはクシャルです
    
    Author : thekushalghosh (クシャル)
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time
start_time = time.time()



def solve():
    n,k = invr()
    print(n - sorted(inlt() + [k]).index(k))
            


 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 

def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1],1
    return(q)
 
def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97],1
    return(q)

def factors(n):
    q = []
    for i in range(1,int(n ** 0.5) + 1):
        if n % i == 0: q.append(i); q.append(n // i)
    return(list(sorted(list(set(q)))))

def prime_factors(n):
    q = []
    while n % 2 == 0: q.append(2); n = n // 2
    for i in range(3,int(n ** 0.5) + 1,2):
        while n % i == 0: q.append(i); n = n // i
    if n > 2: q.append(n)
    return(list(sorted(q)))


        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
main()

Solution (Python):
n,k = map(int,input().split())
h = list(map(int,input().split()))
ans = 0
for a in h:
  if a>=k:
    ans += 1
print(ans)

Solution (Python):

n,k,*h=map(int,open(0).read().split())
print(sum(i>=k for i in h))

Solution (Python):
n,k=map(int,input().split())
l=list(map(int,input().split()))
count=0
for i in l:
    if i>=k:
        count+=1
print(count)

Solution (Python):
n,k =map(int,input().split())
h = list(map(int,input().split()))
h1 = sorted(h)
count = 0
for i in h1:
    if(i >= k):
        count += 1
print(count)

Solution (Python):
n, k = map(int, input().split())
H = list(map(int, input().split()))

H = [h for h in H if h >= k]
print(len(H))

Solution (Python):
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
count = 0

N,K = I()
h = l()
for i in range(N):
    if h[i] >= K:
        count += 1

print(count)

Solution (Python):
import bisect
N,K =list(map(int,input().split()))
H =sorted(list(map(int,input().split())))
i = bisect.bisect(H,K-1)
print(N-i)

Solution (Python):
N, K = map(int, input().split())
h = list(map(int,input().split()))
cnt = 0

for i in h:
    if i >= K:
        cnt += 1

print(cnt)

Solution (Python):
import sys
import math
import numpy as np
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

N,K = I()
h = l()
h.sort()
print(N-bisect.bisect_left(h,K))

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

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

Solution (Python):
N,K = map(int,input().split())
A = list(map(int,input().split()))
ans = 0
for i in range(N):
  if A[i] >= K:
    ans +=1
print(ans)

Solution (Python):
def solve():
    n, k = map(int, input().split())
    h = list(map(int, input().split()))
    ans = 0
    for i in h:
        if i >= k:
            ans += 1
    print(ans)
    return 0

if __name__ == "__main__":
    solve()

Solution (Python):
N,K=map(int,input().split())
h=list(map(int,input().split()))

cnt=0
for i in h:
    if i>=K:
        cnt+=1
print(cnt)

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

N, K = mapint()
Hs = list(mapint())

lis = [1 if a>=K else 0 for a in Hs]
print(sum(lis))

Solution (Python):
n,k=map(int,input().split())
h=list(map(int,input().split()))
count=0
for i in h:
  if i>=k:
    count+=1
print(count)

Solution (Python):
N,K=map(int,input().split())
H=list(map(int,input().split()))
P=0
for i in range(N):
  if K<=H[i]:
    P+=1
print(P)

Solution (Python):
N,K = map(int,input().split())
H = list(map(int,input().split()))
cnt = 0
for i in range(N):
    if H[i]>=K:
        cnt += 1
print(cnt)

Solution (Python):
import sys
from collections import defaultdict, deque, Counter
import math


from bisect import bisect_left, bisect_right





input = sys.stdin.readline

getS = lambda: input().strip()
getN = lambda: int(input())
getList = lambda: list(map(int, input().split()))
getZList = lambda: [int(x) - 1 for x in input().split()]

INF = 10 ** 20
MOD = 10**9 + 7
divide = lambda x: pow(x, MOD-2, MOD)

def solve():
    n, k = getList()
    nums = getList()
    ans = 0
    for num in nums:
        if num >= k:
            ans += 1

    print(ans)
def main():
    n = getN()
    for _ in range(n):
        solve()


if __name__ == "__main__":
    
    solve()

Solution (Python):
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

n,k = inpl()
a = inpl()
res = 0
for x in a:
    if x >= k:
        res += 1
print(res)

Solution (Python):
n, k = map(int, input().split())
print(sum([i >= k for i in list(map(int,input().split()))]))

Solution (Python):
n,k=map(int,input().split())
a=list(map(int,input().split()))
ans=0
for i in range(n):
  if a[i]>=k:
    ans+=1
print(ans)