#include #define PI 3.14159265359 using namespace std; int main() { int N, H; cin >> N >> H; for (int i = 0; i < N; i++) { int n; cin >> n; cout << n + H; if (i == N - 1) { cout << endl; } else { cout << ' '; } } }