object Main extends App {
  val in = io.StdIn.readLine.split(' ').map(_.toInt)

  val x1 = in(0)
  val y1 = in(1)
  val x2 = in(2)
  val y2 = in(3)

  def next(xx1: Int, yy1: Int, xx2: Int, yy2: Int) = {
    (xx2 - (yy2-yy1), yy2 + (xx2 - xx1))
  }

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

  val out = s"$x3 $y3 $x4 $y4"

  println(out)
}
