#include using namespace std; #define rep(i,n) for(int i=0; i<(n); ++i) using ll = long long; int main(){ int n,h; cin >> n >> h; vector t(n); rep(i,n){ cin >> t[i]; } rep(i,n){ cout << t[i] + h; if(i==n-1) cout << endl; else cout << " "; } }