#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define llint long long #define inf 1e18 #define rep(x, s, t) for(llint (x) = (s); (x) < (t); (x)++) #define Rep(x, s, t) for(llint (x) = (s); (x) <= (t); (x)++) #define chmin(x, y) (x) = min((x), (y)) #define chmax(x, y) (x) = max((x), (y)) using namespace std; typedef pair P; llint n, h; llint a[105]; int main(void) { ios::sync_with_stdio(0); cin.tie(0); cin >> n >> h; for(int i = 1; i <= n; i++) cin >> a[i], a[i] += h; for(int i = 1; i <= n; i++) cout << a[i] << " "; cout << endl; return 0; }