#include #include #include #include #include #define all(x) x.begin(),x.end() #define pb push_back #define ll long long using namespace std; int main() { int n,h; int sum = 0; cin >> n>>h; vector a(n); for (int i = 0; i < n; i++) { cin >> a[i]; a[i] += h; } for (int i = 0; i < n; i++) { cout << a[i] <<' '; } cout << endl; return 0; }