#include using namespace std; #define rep(i,n) for(int i=0; i<(n); i++) int main() { int N, H; cin >> N >> H; rep(i, N) { int c; cin >> c; if (i) cout << " "; cout << (c + H); } cout << endl; return 0; }