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