fun main(args: Array<String>) {
    val (n, k, sum) = readLine()!!.split(" ").map { it.toInt() }
    val out = IntArray(n) { sum + 1 }
    repeat (k) { out[it] = sum }
    println(out.joinToString(" "))
}