fun main() { val (x, y, z, w) = readLine()!!.split(" ").map { it.toDouble() } println(x - (x + y*z) / 2) }