use proconio::input;

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

    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)
}