fun main(args: Array<String>) {
    val max = 1000000000
    val (N, K, S) = listOfInt()
    val A = mutableListOf<Int>()
    for (k in 0 until K) {
        A.add(S)
    }
    for (n in 0 until N - K) {
        A.add(if (S != max) max else max-1)
    }
    println(A.joinToString(separator = " "))
}
fun next() = readLine()!!
fun listOfString() = next().split(" ")
fun listOfInt(delta: Int = 0) = listOfString().map { Integer.parseInt(it) + delta }