open Printf open Scanf
module MyInt = struct let (+) = (+) let (-) = (-) let (/) = (/) let ( * ) = ( * ) let (mod) = (mod) let (%) = (mod) let (+=) r v = r := !r + v let (-=) r v = r := !r - v let ( *=) r v= r := !r * v let (/=) r v = r := !r / v end

(* open MyInt64 *)
let () =
	let x1,y1,x2,y2 = scanf " %d %d %d %d" (fun u v w x -> (u,v,w,x))
	in
	let dx,dy = x2 - x1, y2 - y1 in
	let px,py = x2 - dy, y2 + dx in
	let qx,qy = px - dx, py - dy in
	printf "%d %d %d %d\n" px py qx qy









