#include using namespace std; typedef long long ll; typedef pair P; int N, D, K; vector ans; bool solve(int i, int k, int d){ if(d==0) return true; if(N> N >> D >> K; if(!solve(1, K, D) || D < K*(K+1)/2){ cout << -1; }else{ for(int it:ans) cout << it << ' '; } cout << endl; }