{"problem":{"name":"Failing Grade","description":{"content":"$N$ students took an exam. The students are labeled as Student $1$, Student $2$, $\\dots$, Student $N$, and Student $i$ scored $a_i$ points. A student who scored less than $P$ points are considered to ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc222_b"},"statements":[{"statement_type":"Markdown","content":"$N$ students took an exam. The students are labeled as Student $1$, Student $2$, $\\dots$, Student $N$, and Student $i$ scored $a_i$ points.\nA student who scored less than $P$ points are considered to have failed the exam and cannot earn the credit. Find the number of students who failed the exam.\n\n## Constraints\n\n*   $1 \\leq N \\leq 10^5$\n*   $1 \\leq P \\leq 100$\n*   $0 \\leq a_i \\leq 100$ $(1 \\leq i \\leq N)$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$ $P$\n$a_1$ $a_2$ $\\dots$ $a_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc222_b","tags":[],"sample_group":[["4 50\n80 60 40 0","2\n\nStudents $1$ and $2$, who scored $80$ and $60$ points, respectively, succeeded in scoring at least $50$ points to earn the credit.  \nOn the other hand, Students $3$ and $4$, who scored $40$ and $0$ points, respectively, fell below $50$ points and failed the exam. Thus, the answer is $2$."],["3 90\n89 89 89","3"],["2 22\n6 37","1"]],"created_at":"2026-03-03 11:01:13"}}