import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val x1 = sc.nextInt()
  val y1 = sc.nextInt()
  val x2 = sc.nextInt()
  val y2 = sc.nextInt()

  val a = Math.abs(x1 - x2)
  val b = Math.abs(y1 - y2)

  var x3 = 0
  if (y2 > y1) {
    x3 = x2 - b
  } else {
    x3 = x2 + b
  }
  var y3 = 0
  if (x2 > x1) {
    y3 = y2 + a
  } else {
    y3 = y2 - a
  }

  var x4 = 0
  if (y3 > y2) {
    x4 = x3 - a
  } else {
    x4 = x3 + a
  }
  var y4 = 0
  if (x3 > x2) {
    y4 = y3 + b
  } else {
    y4 = y3 - b
  }

  val ans = IntArray(4) { 0 }
  ans[0] = x3
  ans[1] = y3
  ans[2] = x4
  ans[3] = y4

  println(ans.joinToString(" "))
}
