fun main(arr:Array<String>) {
    val (x1, y1, x2, y2) = readLine()!!.split(" ").map { it.toInt() }
    var (x3, y3, x4, y4) = listOf(0,0,0,0)
    val xDiff = x1 - x2
    val yDiff = y1 - y2
    x3 = x2 + yDiff
    y3 = y2 - xDiff
    x4 = x3 + xDiff
    y4 = y3 + yDiff
    println("%s %s %s %s".format(x3, y3, x4, y4))
}
