use proconio::input;

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

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

        let ans = {
            let mut ans = 2;
            while s % ans == 0 {
                ans += 1;
            }
            ans
        };

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