import sys readline = sys.stdin.readline N,H = map(int,readline().split()) T = list(map(lambda x:x + H,map(int,readline().split()))) print(*T)