import java.io._
import java.util.StringTokenizer
import scala.util.control.Breaks.{breakable,break}
import scala.collection.mutable.{Map, Stack, Queue, PriorityQueue, Set}

object Main extends App {
  val in = new InputReader(System.in)
  val pw = new PrintWriter(System.out)

  val N, K, S = in.next().toInt


  //
  val max = 1e9.toInt

  val hoge =
    if (N == max) 1
    else max

  val ans = new Array[Int](N+1)

  for (i <- 1 to N) {
    if (i <= K) {
      ans(i) = S
    }
    else {
      ans(i) = hoge
    }
  }

  val fuga = ans.drop(1).mkString(" ")
  println(fuga)
}

object Sub {
  def print2DimArray[A](mat: Array[Array[A]]): Unit = {
    mat.foreach(lin => println(lin.deep))
  }
}

class InputReader(stream: InputStream) {
  private[this] val reader = new BufferedReader(new InputStreamReader(stream))
  private[this] var tokenizer: StringTokenizer = new StringTokenizer(reader.readLine())
  def next(): String = {
    while (!tokenizer.hasMoreTokens()) {
      tokenizer = new StringTokenizer(reader.readLine())
    }
    tokenizer.nextToken()
  }
}
