#include using namespace std; using ll = long long; template ostream& operator<<(ostream& os, const vector arr){ for(int i = 0; i < (int)arr.size(); i++)cout << arr[i] << (i == (int)arr.size() -1 ? "" : " "); return os;} int main() { int n, k; cin >> n >> k; vector a(n); for(int i = 0; i < n; i++)cin >> a[i]; for(auto &i : a)i += k; cout << a << endl; }