package main import . "fmt" import . "slices" func main() { var a,b,c int Scan(&a,&b,&c) x:=[]int{a,b,c} Sort(x) y:=[]int{ x[1]-x[0], x[2]-x[1], x[0], } Println(Min(y)) }