#include using namespace std; int N,K; long cnt; main() { cin>>N>>K; int id=0; while(N>>id)id++; int a=(1<=c) { if(i-c<=K) { cnt++; if(c+(1<