use std::io::*;

fn main() {
    let mut s: String = String::new();
    std::io::stdin().read_to_string(&mut s).ok();
    let mut itr = s.trim().split_whitespace();
    let n: usize = itr.next().unwrap().parse().unwrap();
    let k: usize = itr.next().unwrap().parse().unwrap();
    let s: usize = itr.next().unwrap().parse().unwrap();

    let mut ans: Vec<usize> = Vec::new();
    for _ in 0..k {
        ans.push(s);
    }
    for _ in 0..n - k {
        ans.push(1);
    }
    let mut out = Vec::new();
    for i in 0..n {
        write!(out, "{}", ans[i]).ok();
        if i == n - 1 {
            writeln!(out, "").ok();
        } else {
            writeln!(out, " ").ok();
        }
    }
    stdout().write_all(&out).unwrap();
}
