fun main(args: Array<String>) = println(run {
    val (x1, y1, x2, y2) = readLine()!!.split(" ").map { it.toInt() }
    val vec12 = Pair(x2-x1, y2-y1)
    val vec23 = Pair(-vec12.second, vec12.first)
    "${x2 + vec23.first} ${y2 + vec23.second} ${x1 + vec23.first} ${y1 + vec23.second} "
})
