#abc130b. [abc130_b]Bounding
[abc130_b]Bounding
Problem Statement
A ball will bounce along a number line, making bounces. It will make the first bounce at coordinate , and the -th bounce at coordinate .
How many times will the ball make a bounce where the coordinate is at most ?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of times the ball will make a bounce where the coordinate is at most .
Sample Input 1
3 6
3 4 5
Sample Output 1
2
The ball will make a bounce at the coordinates , , and , among which two are less than or equal to .
Sample Input 2
4 9
3 3 3 3
Sample Output 2
4
The ball will make a bounce at the coordinates , , , and , among which four are less than or equal to .