import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val p1 = Pair(sc.nextInt(), sc.nextInt())
    val p2 = Pair(sc.nextInt(), sc.nextInt())
    val p3 = nextP(p1, p2)
    val p4 = nextP(p2, p3)
    println("${p3.first} ${p3.second} ${p4.first} ${p4.second}")
}

fun nextP(p1: Pair<Int, Int>, p2: Pair<Int, Int>): Pair<Int,Int> {
    val diffX = p2.first - p1.first
    val diffY = p2.second - p1.second
    return Pair(p2.first - diffY, p2.second + diffX)
}
