Description
Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 200200 points
Problem Statement
NN students took an exam. The students are labeled as Student 11, Student 22, \dots…, Student NN, and Student ii scored a_iai points.
A student who scored less than PP points are considered to have failed the exam and cannot earn the credit. Find the number of students who failed the exam.
Constraints
-
1 \leq N \leq 10^51≤N≤105
-
1 \leq P \leq 1001≤P≤100
-
0 \leq a_i \leq 1000≤ai≤100 (1 \leq i \leq N)(1≤i≤N)
-
All values in input are integers.
Input
Input is given from Standard Input in the following format:
NNPPa_1a1a_2a2\dots…a_NaN
Output
Print the number of students who failed the exam.
HINT
Students 11 and 22, who scored 8080 and 6060 points, respectively, succeeded in scoring at least 5050 points to earn the credit.
On the other hand, Students 33 and 44, who scored 4040 and 00 points, respectively, fell below 5050 points and failed the exam. Thus, the answer is 22.