fun main(args:Array<String>) {
	val p = readLine()!!.split(" ").map{ it.toInt() }
	var vec=Pair(p[1]-p[3],p[2]-p[0])
	println("${p[2]+vec.first} ${p[3]+vec.second} ${p[0]+vec.first} ${p[1]+vec.second}")
}