use proconio::input;

fn main() {
    input! {
        n: usize,
        k: usize,
        s: usize,
    }

    for _ in 0..k {
        print!("{} ", s);
    }
    for _ in 0..(n - k - 1) {
        print!("0 ");
    }
    println!("0");
}
