#include using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) int main(void) { int n, h; cin >> n >> h; vector t(n); rep(i, n) cin >> t[i]; rep(i, n) t[i] += h; cout << t[0]; for (int i = 1; i < t.size(); i++) { cout << " " << t[i]; } cout << '\n'; return 0; }