n,h = map(int,input().split()) t = list(map(lambda x: int(x)+h,input().split())) print(' '.join(map(str,t)))