object Main {
  def main(args: Array[String]) {
    val factors = scala.io.StdIn.readLine().split(" ").map{_.toInt}
    val x_difference = factors(2) - factors(0)
    val y_difference = factors(3) - factors(1)
    val x_3 = factors(2) - y_difference
    val y_3 = factors(3) + x_difference
    val x_4 = x_3 - x_difference
    val y_4 = y_3 - y_difference

    println(x_3.toString + " " + y_3.toString + " " + x_4.toString + " " + y_4.toString)
  }
}
