#include using namespace std; using ll = long long; constexpr char newl = '\n'; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int n, h; cin >> n >> h; for (int i = 0; i < n; i++) { int t; cin >> t; t += h; cout << t << " \n"[i + 1 == n]; } return 0; }