# frozen_string_literal: true

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

if k == n
  puts ([s] * n).join(' ')
  exit
end
p = s / 2
q = s - p

a = [p]

1.upto(k) do |i|
  if i.odd?
    a.push q
  else
    a.push p
  end
end

(n - k - 1).times do
  a.push 1000000000
end

puts a.join(' ')
