fun main(args : Array<String>) {
    val (x1, y1, x2, y2) = readLine()!!.split(" ").map { it.toInt() }
    val (dx, dy) = Pair(x2-x1, y2-y1)

    val (x3, y3) = Pair(x2-dy, y2+dx)
    val (x4, y4) = Pair(x1-dy, y1+dx)

    val ans = listOf(x3, y3, x4, y4)
            .map { it.toString() }
            .joinToString(" ")
    println(ans)
}