def solve T.map{_1+H}.join(" ") end N, H = gets.split.map(&:to_i) T = gets.split.map(&:to_i) puts solve