use proconio::input; fn main(){ input!{ n:usize,h:isize, mut a:[isize;n], } for i in (0..n){ if i>0{ print!(" "); } print!("{}",a[i]+h); } }