#include using namespace std; using namespace chrono; #if __has_include() #include using namespace atcoder; #endif int main() { int64_t n, h; cin >> n >> h; vector ts(n); for (auto &&t : ts) { cin >> t; } for (auto &&t : ts) { cout << (t + h) << ' '; } cout << endl; return 0; }