407048: GYM102697 019 Boomilever

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

019. Boomilevertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

You are working on your Boomilevers for Science Olympiad, an event that requires the breaking of various "boomilevers". For this problem, you are given a list of numbers representing the force you applied to each boomilever in pounds. You know a certain number of pounds that will always break any boomilever. Given these values, calculate how many of your boomilevers have broken so far.

Input

The first line of input contains two space-separated integers n and m representing the number of boomilevers, and the force required to break a boomilever, respectively. The next line contains n space-separated integers representing the force applied to each boomilever.

Output

Output a single positive integer b: the number of boomilevers that have broken so far.

ExampleInput
5 30
20 25 30 35 40
Output
3

加入题单

算法标签: