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 h: i32 = itr.next().unwrap().parse().unwrap(); let mut out = Vec::new(); for i in 0..n { let a: i32 = itr.next().unwrap().parse().unwrap(); write!(out, "{}", a + h).ok(); if i == n - 1 { writeln!(out, "").ok(); } else { write!(out, " ").ok(); } } stdout().write_all(&out).unwrap(); }