n, d, k = map(int, input().split()) DP = [[[False for _ in range(d + 1)] for _ in range(k + 1)] for _ in range(n + 1)] DP[0][0][0] = True for i in range(n): for x in range(k + 1): for j in range(d + 1): if DP[i][x][j]: DP[i + 1][x][j] = True if x + 1 <= k and i + j + 1 <= d: DP[i + 1][x + 1][i + j + 1] = True if not DP[n][k][d]: print(-1) exit() ANS = [] cc = d num = k - 1 for i in range(n, 0, -1): if cc - i < 0: continue if DP[i][num][cc - i]: ANS.append(i) cc -= i num -= 1 print(*ANS[::-1])