#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; template void prtv(T v) { rep(i, 0, v.size()) cout << (i ? " " : "") << v[i]; cout << endl; } void solve() { int N, H; cin >> N >> H; vector v(N); rep(i, 0, N) { cin >> v[i]; v[i] += H; } prtv(v); } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }