import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main_yukicoder115 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int d = sc.nextInt(); int k = sc.nextInt(); List ret = new ArrayList(); for (int i = 1; i <= n && k > 0; i++) { if (isOK(i, n, d - i, k - 1)) { ret.add(i); d -= i; k--; } } if (k == 0) { for (int kk = 0; kk < ret.size(); kk++) { if (kk == 0) { System.out.printf("%d", ret.get(kk)); } else { System.out.printf(" %d", ret.get(kk)); } } System.out.println(""); } else { System.out.println("-1"); } sc.close(); } private static boolean isOK(int i, int n, int d, int k) { if (k == 0) { return d == 0; } int min = (i + k - 1) * (i + k) / 2 - (i - 1) * i / 2; int max = n * (n + 1) / 2 - (n - k) *( n - k + 1) / 2; if (d < min || d > max) { return false; } else { return true; } } }