fun main(args: Array<String>) {
    val (x1, y1, x2, y2) = readInputLine().split(" ").map { it.toInt() }
    
    val dx = x2 - x1
    val dy = y2 - y1
    
    // 座標移動と90度回転移動をうまいことやる
    println("${dx - dy + x1} ${dx + dy + y1} ${-dy + x1} ${dx + y1}")
}

fun readInputLine(): String {
    return readLine()!!
}
