package main import ( "fmt" "strconv" ) func main() { var n, h int fmt.Scan(&n, &h) t := make([]int, n) for i := range t { fmt.Scan(&t[i]) t[i] += h } ans := "" for i := range t { if i != 0 { ans += " " } ans += strconv.Itoa(t[i]) } fmt.Println(ans) }