import scala.io.StdIn

object Main extends App {

  val Array(x1, y1, x2, y2) = StdIn.readLine().split(" ").map(_.toInt)

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

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