Given a sequence of size and a sequence of size , determine the number of subintervals(called ) of size in satisfying .
输入描述:
The first line contains two integers . The second line contains integers , denoting the sequence . The third line contains integers , denoting the sequence .
输出描述:
Only one line containing one integer, denoting the answer.