fun main(arr: Array<String>) {
    val (x1,y1,x2,y2) = readLine()!!.split(" ").map { it.toInt() }
    val x3 = x2 - (y2-y1)
    val y3 = y2 + (x2-x1)
    val x4 = x1 - (y2-y1)
    val y4 = y1 + (x2-x1)
    println(listOf(x3,y3,x4,y4).joinToString(" "))
}