let posP:[Int] = readLine()!.split(separator: " ").map{Int($0)!} let posQ:[Int] = readLine()!.split(separator: " ").map{Int($0)!} let distance = abs(posP[0]) + abs(posP[1]) + abs(posQ[0]) + abs(posQ[1]) let time:Double = Double(distance) / 2.0 print(time)