IntermediateRating 1400
Pieces With Small Product
All numbers are positive. Count the blocks of consecutive numbers whose product is less than k.
Input
n and k, then n positive integers.
Output
One integer.
Sample 1
Input
4 100 10 5 2 6
Output
8
Sample 2
Input
3 0 1 2 3
Output
0
Output appears here