import sys input = sys.stdin.readline N,H=map(int,input().split()) T=list(map(int,input().split())) print(*[t+H for t in T])