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