package main import . "fmt" func main() { var n,h int Scan(&n,&h) var s string for ;n>0;n-- { var t int Scan(&t) s=Sprint(s," ",t+h) } Println(s[1:]) }