import numpy as np n,t=map(int,input().split()) a = np.array(input().split(),dtype=np.intc) print(*(a+t))