n,h=map(int,input().split()) print(*map(lambda x:x+h,list(map(int,input().split()))))