#include using namespace std; using Int = long long; //INSERT ABOVE HERE signed main(){ Int n,k; cin>>n>>k; n--; Int x=n%(k+1); cout<>y; if(y>n) break; x+=k+1; cout<