import java.util.*

fun main(args:Array<String>){
    val (n,k,s) = readLine()!!.split(" ").map{it.toInt()}
    val st = StringBuilder()
    for(i in 0 until n){
        if(i < k){
            st.append(s)
            st.append(' ')
        }
        else{
            st.append(if(s == 1000000000) s - 1 else s + 1)
            st.append(' ')
        }
    }
    println(st.toString())
}
