// -*- coding:utf-8-unix -*-

use proconio::input;

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

    if n == 1 {
        if k == 0 {
            println!("{}", s - 1);
        } else {
            println!("{}", s);
        }
        return;
    }

    let a = s / 2;
    let b = s - a;
    for i in 0..n {
        if i <= k {
            if i % 2 == 0 {
                print!("{}", a);
            } else {
                print!("{}", b);
            }
        } else {
            print!("0");
        }

        if i != n - 1 {
            print!(" ");
        } else {
            println!("");
        }
    }
}
