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(s)
        (1L until k).foreach(_ => print(" 0"))
        (0L until (n - k)).foreach(_ => print(" 1"))
      case _ =>
        print(s)
        (1L until k).foreach(_ => print(" 0"))
        (0L until (n - k)).foreach(_ => print(" 1000000000"))
    }
  }
}
