import scala.io.StdIn._

/**
 * ABC108B
 */
object Main extends App {
  import scala.math._

  val Seq(x1, y1, x2, y2) = readLine().split(" ").toSeq.map(_.toInt)
  val r = sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2))
  val rcos = x2 - x1
  val rsin = y2 - y1

  val x3 = ((rcos - rsin) + x1).toInt
  val y3 = ((rsin + rcos) + y1).toInt
  val x4 = -rsin + x1
  val y4 = rcos + y1

  println(x3 + " " + y3 + " " + x4 + " " + y4)

}