#include #define rep(i, n) for (ll i = 0; i < n; ++i) typedef long long ll; using namespace std; const int INF = 1e9; int main() { int n, h; cin >> n >> h; vector a(n); rep(i, n) cin >> a[i]; rep(i, n) { if (i != 0) cout << " "; cout << a[i] + h; } cout << endl; return 0; }