a,b = map(int,input().split()) c = list(map(int,input().split())) d = [i + b for i in c] print(*d)