def solve(): N, H = map(int, input().split()) ans = list(map(lambda x:x+H,list(map(int, input().split())))) return ans print(*solve())