
fun main(array: Array<String>) {
    val (x1, y1, x2, y2) = readLine()!!.split(" ").map { it.toInt() }
    val vx1 = x2 - x1
    val vy1 = y2 - y1
    val x4 = -vy1 + x1
    val y4 = vx1 + y1
    val vx2 = x1 -x4
    val vy2 = y1 - y4
    val x3 = -vy2 + x4
    val y3 = vx2 + y4
    print(x3.toString() + " " + y3.toShort() + " " + x4.toString() + " " + y4.toString())
}