local x1,y1,x2,y2=io.read("n","n","n","n")
local dx,dy=x2-x1,y2-y1
local adx,ady=math.abs(dx),math.abs(dy)
local sdx,sdy=1,1
if dx<0 then
  sdx=-1
end
if dy<0 then
  sdy=-1
end
local x3=x2 - sdy*ady
local y3=y2 + sdx*adx
local x4=x3 - sdx*adx
local y4=y3 - sdy*ady
print(x3,y3,x4,y4)
