object Main{

  def main(args: Array[String]): Unit = {
    val Seq(x1, y1, x2, y2): Seq[Int] = io.StdIn.readLine().split(' ').map(_.toInt).toList
    val nums = findTheCoordinates(x1,y1,x2,y2)
    println(s"${nums._1} ${nums._2} ${nums._3} ${nums._4} ")
  }

  def findTheCoordinates(x1:Int, y1:Int, x2:Int, y2:Int) ={
    val xLength = x1-x2
    val yLength = y1-y2
    (x2+yLength, y2-xLength, x1+yLength, y1-xLength)
  }
}