```go package main import ( "fmt" ) func main() { var h, l float64 fmt.Scan(&h, &l) ans := (l*l - h*h) / (2 * h) fmt.Printf("%.10f", ans) } ```