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

if k == 0
  puts ([s == 1_000_000_000 ? 1 : s + 1] * n).join(' ')
elsif k == n
  puts ([s] * n).join(' ')
else
  a = (0...n).map do |i|
      if i > k
        s == 1_000_000_000 ? 999_999_998 : 1_000_000_000
      elsif i % 2 == 0
        1
      else
        s - 1
      end
    end

  puts a.join(' ')
end