fun main(args: Array<String>) {

    val nks = readLine()!!.split(" ").map { it.toInt() }

    val result = mutableListOf<Int>()
    
    for (i in 1..nks[0]) {
        if (i <= nks[1]) {
            result.add(nks[2])
        } else {
            result.add(nks[2] + 1)
        }
    }
    
    print(result.joinToString(" "))
}