object Main extends App {
	val Array(x1, y1, x2, y2) = scala.io.StdIn.readLine.split(" ").map(_.toInt)
	
	val x3 = x2 + y1 - y2 
	val y3 = y2 + x2 - x1

	val x4 = x1 + y1 - y2
	val y4 = y1 + x2 - x1

	println(x3 + " " + y3 + " " + x4 + " " + y4)
}