n, h = map(int, input().split()) t_s = list(map(int, input().split())) for t in t_s: print(t + h, end = " ") print()