#include using namespace std; template bool cmin(T &a, U b) { return a > b && (a = b, true); } template bool cmax(T &a, U b) { return a < b && (a = b, true); } signed main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int N, D, K; cin >> N >> D >> K; if (N < K) return cout << -1 << "\n", 0; vector ans(K); iota(ans.begin(), ans.end(), 1); int tmp = D - accumulate(ans.begin(), ans.end(), 0); if (tmp < 0) return cout << -1 << "\n", 0; int now = K - 1, mx = N; while (tmp) { while (ans.at(now) == mx) { now--, mx--; if (now < 0) return cout << -1 << "\n", 0; } ans.at(now)++, tmp--; } for (int i = 0, n = ans.size(); i < n; i++) { cout << ans.at(i) << ((i == n - 1) ? "\n" : " "); } }