local x1, y1 = io.read("*n", "*n")
local x2, y2 = io.read("*n", "*n")
local y3 = y2 + (x2 - x1)
local x3 = x2 - (y2 - y1)
io.write(x3 .. " " .. y3.. " ")
local y4 = y3 + (x3 - x2)
local x4 = x3 - (y3 - y2)
io.write(x4 .. " " .. y4.. "\n")
