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