local n, k, s = io.read("*n", "*n", "*n")
local t = {}
if s < 1000000000 then
  for i = 1, k do
    t[i] = s
  end
  for i = k + 1, n do
    t[i] = s + 1
  end
else
  for i = 1, k do
    t[i] = s
  end
  for i = k + 1, n do
    t[i] = s - 1
  end
end
print(table.concat(t, " "))
