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

if s.even?
  (k + 1).times do
    result << s / 2
  end

  (n - (k + 1)).times do
    result << s - 1
  end
end

if s.odd?
  flag = false
  (k + 1).times do
    tmp = flag ? s / 2 : s / 2 + 1
    result << tmp
    flag = !flag
  end

  (n - (k + 1)).times do
    result << s - 1
  end
end

puts result.join(' ')
