data class Point(val x: Int, val y: Int)

operator fun Point.unaryMinus() = Point(-x, -y)
operator fun Point.plus(other: Point) = Point(this.x + other.x, this.y + other.y)
operator fun Point.minus(other: Point) = this + (-other)

fun main(args: Array<String>) {
  val (x1, y1, x2, y2) = readLine()!!.split(" ").map { it.toInt() }
  val p1 = Point(x1, y1) 
  val p2 = Point(x2, y2) 
  val p4 = Point(-(p2 - p1).y, (p2 - p1).x) + p1
  val p3 = (p2 - p1) + p4
  println("${p3.x} ${p3.y} ${p4.x} ${p4.y}")
}
