#include #define For(i, a, b) for(int i = a; i < b; i++) #define rep(i, n) For(i, 0, n) #define rFor(i, a, b) for(int i = a; i >= b; i--) #define ALL(v) (v).begin(), (v).end() #define rALL(v) (v).rbegin(), (v).rend() using namespace std; using lint = long long; using ld = long double; int INF = 2000000000; lint LINF = 1000000000000000000; int main() { int n, d, k; cin >> n >> d >> k; int mn = (1 + k) * k / 2; int mx = (n - k + 1 + k) * k / 2; if (!(mn <= d && d <= mx)) { cout << -1 << endl; return 0; } vector ans(k); rep(i, k) { ans[i] = i + 1; } ans.back() += d - mn; rFor(i, k - 1, 1) { if (ans[i] > n) { int diff = ans[i] - n; ans[i] = n; ans[i - 1] += diff; } } rep(i, k) { cout << ans[i] << " "; } cout << endl; }