object Main extends App{
  import scala.io.StdIn.readLine
  
  val n = readLine.split(" ").map(_.toInt)
  val x1 = n(0)
  val y1 = n(1)
  val x2 = n(2)
  val y2 = n(3)
  val sidex = n(2) - n(0)
  val sidey = n(3) - n(1)
  
  println((x2 - sidey).toString)
  println((y2 + sidex).toString)
  println((x1 - sidey).toString)
  println((y1 + sidex).toString)

}
