#include using namespace std; #define hell 998244353 #define PI acos(-1.0) #define S second #define F first #define lli long long int #define li long int #define ld long double #define all(v) (v).begin(), (v).end() #define rall(v) (v).rbegin(), (v).rend() #define run(j, n) for(auto ii=j;ii!=n;ii++) #define out(j, n) for(auto ii=j;ii!=n;ii++) cout<<(*ii)<<" "; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout << fixed << showpoint; cout << setprecision(11); lli n, k;cin>>n>>k; lli ar[n]; run(0, n) { cin>>ar[ii]; ar[ii]+=k; } out(ar, ar+n); return 0; }