use std::io;
use std::io::Read;
use std::collections::HashMap;

fn main() -> io::Result<()>{

    let mut buffer = String::new();
    io::stdin().read_line(&mut buffer)?;

    let split: Vec<&str> = buffer.split_ascii_whitespace().collect();
    let N: usize = split[0].parse().unwrap();
    let K: usize = split[1].parse().unwrap();
    let S: usize = split[2].parse().unwrap();

    for i in 0..N {
        if i < K {
            print!("{} ", S);
        } else {
            print!("{} ", 0);
        }
    }
    Ok(())
}
