package main import ( "fmt" ) func main() { var v1, v2, d, w float64 fmt.Scan(&v1, &v2, &d, &w) fmt.Println(w * (d / (v1 + v2))) }