N, H, *T = map(int, open(0).read().split()) A = [t + H for t in T] print(*A)