import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val n = sc.nextInt()
  val k = sc.nextInt()
  val s = sc.nextInt()


  val list = mutableListOf<Int>()
  for (i in 0 until n) {
    if (i < k) {
      list.add(s)
    } else {
      list.add(s+1)
    }
  }

  println(list.joinToString(" "))

}