fun main(args: Array<String>) {
    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(1000000000)
    }
    println(A.joinToString(separator = " "))
}
fun next() = readLine()!!
fun listOfString() = next().split(" ")
fun listOfInt(delta: Int = 0) = listOfString().map { Integer.parseInt(it) + delta }