#include int main(){ int n,h; scanf("%d%d",&n,&h); for(int i = 1; i <= n; i++){ int u; scanf("%d",&u); printf("%d ",u+h); } printf("\n"); return 0; }