import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int h = sc.nextInt(); int[] t = new int[n]; for (int i = 0; i < n; i++) { t[i] = sc.nextInt(); } sc.close(); System.out.print(t[0] + h); for (int i = 1; i < n; i++) { System.out.print(" "); System.out.print(t[i] + h); } System.out.println(); } }