object Main extends App {
    val Array(x1, y1, x2, y2) = io.StdIn.readLine.split(" ").map(_.toInt)

    val x = x2-x1
    val y = y2-y1

    val x3 = x2-y
    val y3 = y2+x
    val x4 = x1-y
    val y4 = y1+x

    println(s"$x3 $y3 $x4 $y4")

}