fn main() { let mut nk = String::new(); std::io::stdin().read_line(&mut nk).ok(); let nk: Vec = nk.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); let n = nk[0]; let k = nk[1]; let mut result = vec![1usize; n]; result[0] = 2 * k; result[1] = 2 * k + n - 2; println!("{}", result.into_iter().map(|v| v.to_string()).collect::>().join(" ")); }