import sys input=lambda: sys.stdin.readline().rstrip() n,h=map(int,input().split()) A=[int(i)+h for i in input().split()] print(*A)