#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(0); cin.tie(0); ll n, h; cin >> n >> h; while (n--) { int t; cin >> t; cout << t + h << (n > 0 ? ' ' : '\n'); } }