问题

### Instructions: You are an expert Python programmer. You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests. You will NOT return anything except for the program.
### Question:
N people labeled 1,2,\dots,N took an exam, and person i scored A_i points.
Only those who scored at least L points pass this exam.
Determine how many people out of the N have passed the exam.

Input

The input is given from Standard Input in the following format:
N L
A_1 A_2 \dots A_N

Output

Print the answer as an integer.

Constraints


- All input values are integers.
- 1 \le N \le 100
- 1 \le L \le 1000
- 0 \le A_i \le 1000

Sample Input 1

5 60
60 20 100 90 40

Sample Output 1

3

Five people took the exam. You need to score at least 60 points to pass.

- Person 1 scored 60 points, so they passed.
- Person 2 scored 20 points, so they did not pass.
- Person 3 scored 100 points, so they passed.
- Person 4 scored 90 points, so they passed.
- Person 5 scored 40 points, so they did not pass.

From the above, we can see that three people have passed.

Sample Input 2

4 80
79 78 77 76

Sample Output 2

0

There may be cases no one has passed.

Sample Input 3

10 50
31 41 59 26 53 58 97 93 23 84

Sample Output 3

6

### Format: Read the inputs from stdin solve the problem and write the answer to stdout (do not directly test on the sample inputs). Enclose your code within delimiters as follows.
```python
# YOUR CODE HERE
```

### Answer: (use the provided format with backticks)

答案

模型 模型答案 正确答案
金声玉亮2.0 ```python
# YOUR CODE HERE
import sys
input = sys.stdin.read
data = input().split()

N = int(data[0])
L = int(data[1])
scores = list(map(int, data[2:]))

count = sum(1 for score in scores if score >= L)
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
deepseek-r1

```python
n, l = map(int, input().split())
scores = list(map(int, input().split()))
count = sum(1 for a in scores if a >= l)
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
gpto1 ```python
# YOUR CODE HERE
N, L = map(int, input().split())
A = list(map(int, input().split()))
count = sum(1 for score in A if score >= L)
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
gpt-4o-2024-08-06 ```python
# YOUR CODE HERE
def main():
import sys
input = sys.stdin.read
data = input().split()

N = int(data[0])
L = int(data[1])
scores = list(map(int, data[2:]))

passed_count = sum(1 for score in scores if score >= L)

print(passed_count)

main()
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
Qwen2-72B-Instruct ```python
n,l=map(int,input().split())
a=list(map(int,input().split()))
c=0
for i in range(n):
if a[i]>=l:
c+=1
print(c)
```
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
DeepSeek-Coder-V2-Lite-Instruct ```python
# YOUR CODE HERE
# Read the inputs from stdin
N, L = map(int, input().split())
A = list(map(int, input().split()))

# Count the number of people who passed the exam
passed_count = sum(1 for score in A if score >= L)

# Print the answer
print(passed_count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
Meta-Llama-3.1-405B-Instruct-Turbo ```python
import sys

# Read input from stdin
N, L = map(int, sys.stdin.readline().split())
A = list(map(int, sys.stdin.readline().split()))

# Count the number of people who scored at least L points
count = sum(1 for score in A if score >= L)

# Print the answer to stdout
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
Meta-Llama-3.1-70B-Instruct-Turbo ```python
# YOUR CODE HERE
import sys

n, l = map(int, sys.stdin.readline().split())
scores = list(map(int, sys.stdin.readline().split()))

pass_count = sum(1 for score in scores if score >= l)

print(pass_count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
baichuan4 ```python
# YOUR CODE HERE
import sys

# Read input from stdin
input_data = sys.stdin.read().splitlines()
n, l = map(int, input_data[0].split())
scores = list(map(int, input_data[1].split()))

# Count the number of people who passed the exam
passed_count = sum(score >= l for score in scores)

# Print the result to stdout
print(passed_count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
doubao ```python
N, L = map(int, input().split())
A = list(map(int, input().split()))

count = 0
for a in A:
if a >= L:
count += 1

print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
gpto1 ```python
# YOUR CODE HERE
N, L = map(int, input().split())
A = list(map(int, input().split()))
count = sum(1 for score in A if score >= L)
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
kimi ```python
# YOUR CODE HERE
(N, L) = map(int, input().split())
A = list(map(int, input().split()))
count = 0
for a in A:
if a >= L:
count += 1
print(count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
minimax ```python
# YOUR CODE HERE
N, L = map(int, input().split())
scores = list(map(int, input().split()))

passed_count = sum(1 for score in scores if score >= L)
print(passed_count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
wenxinyiyan ```python
# Read the input values
N, L = map(int, input().split())
scores = list(map(int, input().split()))

# Count the number of people who passed the exam
passed_count = sum(1 for score in scores if score >= L)

# Print the result
print(passed_count)
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
zhipu ```python
# YOUR CODE HERE
def main():
import sys
input = sys.stdin.read
data = input().split()

N = int(data[0])
L = int(data[1])
A = list(map(int, data[2:]))

count_passed = sum(1 for score in A if score >= L)
print(count_passed)

if __name__ == "__main__":
main()
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]
deepseek-v3 ```python
# YOUR CODE HERE
def main():
# Read the first line of input
N, L = map(int, input().split())
# Read the second line of input
A = list(map(int, input().split()))
# Count the number of people who scored at least L points
count = sum(1 for a in A if a >= L)
# Print the result
print(count)

if __name__ == "__main__":
main()
```
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}]