import java.util.*

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

  val max = 1_000_000_000L
  val tmp = if (s == max) 1 else s + 1

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

  println(list.joinToString(" "))

}