Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
for i in range(len(l)):
     if l[i] >= K
         ans += 1
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
for i in range(len(l)):
     if l[i] >= K
         ans += 1
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
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)
    

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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
while max(l) <= K:
         l.remove(max(l))
         ans += 1
    
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = [input() for i in range(N+1)]
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = [map(int, input().split())]
ans = 0
while max(l)<K:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = [map(int, input().split())]
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


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

Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
l = []
l += map(int, input().split())
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    

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