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