#include using namespace std; int main() { int n, h; cin >> n >> h; for (int i = 0; i < n; i++) { int t; cin >> t; cout << t + h << (i == (n - 1) ? '\n' : ' '); } return 0; }