#abc222b. [abc222_b]Failing Grade
[abc222_b]Failing Grade
Problem Statement
students took an exam. The students are labeled as Student , Student , , Student , and Student scored points.
A student who scored less than points are considered to have failed the exam and cannot earn the credit. Find the number of students who failed the exam.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of students who failed the exam.
Sample Input 1
4 50
80 60 40 0
Sample Output 1
2
Students and , who scored and points, respectively, succeeded in scoring at least points to earn the credit.
On the other hand, Students and , who scored and points, respectively, fell below points and failed the exam. Thus, the answer is .
Sample Input 2
3 90
89 89 89
Sample Output 2
3
Sample Input 3
2 22
6 37
Sample Output 3
1