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