n,d,k=gets.split.map(&:to_i) sum=k*(k+1)/2 diff=d-sum p [1..k-(m=diff/(n-k))-1,k-m+(diff-m*(n-k)),(k-m+1..k).map{|i|i+n-k}] puts sum>d||k>n||sum+(n-k)*k