#include using namespace std; int main() { int n, h; cin >> n >> h; assert(1 <= n && n <= 100); assert(-100 <= h && h <= 100); for (int i = 0; i < n; i++) { int t; cin >> t; assert(-100 <= t && t <= 100); cout << t + h; if (i == n - 1) { cout << endl; } else { cout << ' '; } } }