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