#include #include #include #include #include #include #include #include #include #include #include #include typedef unsigned long long ULLONG; typedef long long LLONG; static const LLONG MOD_NUM = 1000000007;//998244353; template static void get(_T& a) { std::cin >> a; } template static void get(_T& a, _T& b) { std::cin >> a >> b; } template static void get(_T& a, _T& b, _T& c) { std::cin >> a >> b >> c; } template static void getint(_T& a) { if (sizeof(_T) > sizeof(int)) { scanf("%lld", &a); } else { scanf("%d", &a); } } static void exec(); int main() { exec(); fflush(stdout); return 0; } static void exec() { int N, H; get(N, H); int ti; for (int i = 0; i < N; i++) { get(ti); printf("%d ", ti + H); } putchar('\n'); }