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