// parameter "input" gets all data
function Main(input) {
	// the first line is assigned to input[0], the second line is assigned to input[1] similarly.
	var xy = input.split(' ');
	for(var i=0;i<xy.length;i++){
		xy[i] = parseInt(xy[i]);
	}
	var dx = xy[0]-xy[2];
	var dy = xy[1]-xy[3];
	xy.push(xy[2]+dy);
	xy.push(xy[3]-dx);
	xy.push(xy[4]+dx);
	xy.push(xy[5]+dy);
	console.log(xy[4],xy[5],xy[6],xy[7])
}
// Don't edit this line!
//Main(require("fs").readFileSync(__dirname+'/in.txt', "utf8"));
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));