Help me in solving CCHOCOLATES problem

My issue

package main
import “fmt”

func main(){
var test int
fmt.Scanln(&test)
var (
x int
y int
z int )
for i := 0 ; i < test ; i++ {
fmt.Scanln( &x , &y, &z)
var res int = (x5 + y10 )/z
fmt.Println(res)
}

} its giving runtime panic why is it not reading all three values

My code

package main
import "fmt"

func main(){
	var (
	    x int 
	    y int
	    z int )
	    
	    fmt.Scanln( &x , &y, &z)
	  
}

Learning course: Basic Math using Go
Problem Link: Chef and Chocolates Practice Problem in - CodeChef