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

ans = [0]*n

if s == 1
  ans = [2]*n
  puts ans
  exit
end


if n ==k
  ans = [s]*n
  puts ans
  exit
end

if k == 0
  ans = [s-1]*n
  puts ans
  exit
end

if s == 1000000000
  tmp = s-1
else
  tmp = s+1
end



n.times do |i|
  if i < k
    ans[i] = s
  else
    ans[i] = tmp
  end
end

puts ans
