#include #define rep(X,N) for(ll X = 0LL; X < (N); X++) #define ALL(V) (V).begin(),(V).end() using namespace std; typedef long long ll; const double PI = 3.1415926535897932384626; const ll MODN = 1000000007; const ll MODN2 = 998244353; const double EPS = 1e-10; int main(){ int n,h; cin >> n >> h; rep(i, n){ int tmp; cin >> tmp; cout << tmp + h << " "; } cout << endl; return 0; }