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

  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)
}