
object Main {
    def spin(v : (Int, Int)) : (Int, Int) = {
        (-1 * v._2, v._1)
    }
    def add (v1 : (Int, Int), v2: (Int, Int)) : (Int, Int) = {
        (v1._1 + v2._1, v1._2 + v2._2)
    }
    def main(args: Array[String]) = {
        val sc = new java.util.Scanner(System.in)
        val x1, y1, x2, y2 = sc.nextInt 
        val v = (x2 - x1, y2 - y1)
        val (x3, y3) = add(spin(v), (x2, y2))
        val (x4, y4) = add(spin(spin(v)), (x3, y3))
        println(s"${x3} ${y3} ${x4} ${y4}")
    }
}
