fun intList() = readLine()?.split(" ")?.map(String::toInt) ?: TODO()
fun main(args: Array<String>) {
    val (x, y, x2, y2) = intList()
    val a = x2 - x
    val b = y2 - y
    println("${x2 - b} ${y2 + a} ${x - b} ${y + a}")
}