n,h = map(int,input().split()) a = list(map(int,input().split())) for i in range(n): a[i] = a[i] + h print(*a)