package main import . "fmt" func main() { var t int Scan(&t) for ; t>0; t-- { var d,a,x uint64 Scan(&d,&a) for ; d>0; d-- { Scan(&x) Print((x*10/a+5)/2) if d>1 { Print(" ") } } Println() } }