import numpy as np N,H=map(int,input().split()) T=np.array([int(x) for x in input().split()]) T+=H print(*T)