program ABC108B
    implicit none
    integer(8)::x1,x2,x3,x4,y1,y2,y3,y4,x_diff,y_diff

    read(5,*)x1,y1,x2,y2

    x_diff=x2-x1
    y_diff=y2-y1

    x3=x2-y_diff
    y3=y2+x_diff
    x4=x3-x_diff
    y4=y3-y_diff

    print'(i0,1x,i0,1x,i0,1x,i0)',x3,y3,x4,y4
    
end program ABC108B