AtCoder Beginner Contest 142
B
Roller Coaster
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

$N$ friends of Takahashi has come to a theme park.

翻译中…

To ride the most popular roller coaster in the park, you must be at least $K$ centimeters tall.

翻译中…

The $i$-th friend is $h_i$ centimeters tall.

翻译中…

How many of the Takahashi's friends can ride the roller coaster?

翻译中…

Constraints

翻译中…
  • $1 \le N \le 10^5$
  • $1 \le K \le 500$
  • $1 \le h_i \le 500$
  • All values in input are integers.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N K
h_1 h_2 \ldots h_N

翻译中…

Output

翻译中…

Print the number of people among the Takahashi's friends who can ride the roller coaster.

翻译中…

样例

Input #1
4 150
150 140 100 200
Output #1
2
Two of them can ride the roller coaster: the first and fourth friends.
Input #2
1 500
499
Output #2
0
Input #3
5 1
100 200 300 400 500
Output #3
5
题目信息
题号
abc142_b
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。