package main

import (
	"bufio"
	"fmt"
	"os"
)

func main() {
	var N, K, S int
	fmt.Scan(&N, &K, &S)
	wtr := bufio.NewWriter(os.Stdout)
	for i := 0; i < N; i++ {
		if i < K {
			fmt.Fprintf(wtr, "%d ", S)
		} else {
			fmt.Fprintf(wtr, "%d ", S/2+1)
		}
	}
	fmt.Fprintln(wtr)
	wtr.Flush()
}
