n,k,s = gets.split.map &:to_i

r = n - k + 1

div = s / r
mod = s % r

result = [div] * r

(-mod .. -1).each{ |i|
	result[i] += 1
}

n_div = n / result.size
n_mod = n % result.size

puts (result * n_div + result[0...n_mod]).join(" ")
