import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    //nextLineとnextを同時に使ったら死ぬ
    val sc = new Scanner(System.in)
    val n, k, s = sc.nextLong()
    s match {
      case 1000000000L =>
        print(Array.fill(k.toInt)(s).mkString(" "))
        if ((n - k) > 0) {
          print(" ")
          print(Array.fill((n - k).toInt)(1).mkString(" "))
          println()
        } else {
          println()
        }
      case _ =>
        print(Array.fill(k.toInt)(s).mkString(" "))
        if ((n - k) > 0) {
          print(" ")
          print(Array.fill((n - k).toInt)(1000000000).mkString(" "))
          println()
        } else {
          println()
        }
    }
  }
}
