object Main extends App {
  import scala.io.StdIn.readLine

  val input = readLine().split(" ").map(_.toInt)
  val x1 = input(0)
  val y1 = input(1)
  val x2 = input(2)
  val y2 = input(3)

  val x3 = x2 - Math.abs(y2 - y1)
  val y3 = y2 + (x2 - x1)
  val x4 = x1 - Math.abs(y2 - y1)
  val y4 = y1 + (x2 - x1)

  print(x3 + " " + y3 + " " + x4 + " " + y4)
}