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