#include #include #include #include using namespace std; int main() { int N, H; cin >> N >> H; vector T(N); for (int i = 0; i < N; i++) { cin >> T[i]; T[i] += H; cout << T[i]; if (i != N - 1) { cout << " "; } else { cout << endl; } } return 0; }