import sys readline=sys.stdin.readline N,D,K=map(int,readline().split()) N=min(N,D) import numpy as np dp=np.full((N+1,K+1,D+1),False,dtype=bool) dp[0][0][0]=True for n in range(N,0,-1): dp[N-n+1]|=dp[N-n] dp[N-n+1,1:,n:]|=dp[N-n,:-1,:-n] ans_lst=[] for n in range(1,N+1): if K and D>=n and dp[N-n,K-1,D-n]: ans_lst.append(n) D-=n K-=1 if K: ans_lst=[-1] print(*ans_lst)