use std::io::*;
use std::str::FromStr;

fn read<T: FromStr>() -> T {
    let stdin = stdin();
    let stdin = stdin.lock();
    let token: String = stdin
        .bytes()
        .map(|c| c.expect("failed to read char") as char) 
        .skip_while(|c| c.is_whitespace())
        .take_while(|c| !c.is_whitespace())
        .collect();
    token.parse().ok().expect("failed to parse token")
}

fn main() {
    let n: usize = read();
    let k: usize = read();
    let s: usize = read();

    let mut ai: Vec<String> = vec![s.to_string(); k];
    if s != 100000000 {
        ai.extend(vec![(s+1).to_string(); n-k]);
    } else {
        ai.extend(vec![(s-1).to_string(); n-k]);
    }

    println!("{}", ai.join(" "));
}
