//Written by Zhu Zeqi
//Come on,baby
//Hack,please
#include<bits/stdc++.h>
#define MAX 1000000000000000000
#define MOD 1000000007
#define PI 3.141592653589793238462
#define INF 0x3F3F3F3F
typedef long long ll;
//orz yht
using namespace std;
string i_s(int x){
	if(x==0)
	return "0";
	string ret="";
	while(x){
		ret=ret+(char)(x%10+'0');
		x/=10;
	}
	reverse(ret.begin(),ret.end());
	return ret;
}
string add(string a,string b){
	if(a=="")
	a="0";
	if(b=="")
	b="0";
	if(a.length()<b.length())
	swap(a,b);
	while(b.length()<a.length()){
		b='0'+b;
	}
	for(int i=0;i<a.length();i++){
		a[i]=a[i]+(b[i]-'0');
	}
	bool big=false;
	for(int i=a.length()-1;i>=0;i--){
		if(big){
			a[i]++;
		}
		big=false;
		if(a[i]>'9'){
			a[i]=a[i]-10;
			big=true;
		}
	}
	if(big)
	a='1'+a;
	return a;
}
string mul(string a,string b){
	vector<int> va,vb;
	if(a=="0" || b=="0")
	return "0";
	string ans;
	for(int i=0;i<a.length();i++){
		va.push_back(a[i]-'0');
	}
	for(int i=0;i<b.length();i++){
		vb.push_back(b[i]-'0');
	}
	reverse(va.begin(),va.end());
	reverse(vb.begin(),vb.end());
	vector<int> res;
	res.clear();
	res.resize(1005);
	for(int i=0;i<a.length();i++){
		for(int j=0;j<b.length();j++){
			res[i+j]+=(va[i]*vb[j]);
		}
	}
	for(int i=0;i<1005;i++){
		if(res[i]>9){
			res[i+1]+=(res[i]/10);
			res[i]%=10;
		}
	}
	for(int i=0;i<1005;i++){
		ans+=(res[i]+'0');
	}
	reverse(ans.begin(),ans.end());
	int k=0;
	while(ans[k]=='0'){
		k++;
	}
	ans=ans.substr(k);
	return ans;
}
bool is_prime(int n){
	if(n<2)
    return false;
    for(int i=2;i*i<=n;i++)
    if(n%i==0)
    return false;
    return true;
}			
int x1,yc,x2,y2;
int main(){
	//freopen("input.in","r",stdin);
	//freopen("output.out","w",stdout);
	cin>>x1>>yc>>x2>>y2;
	if(x1==x2){
		if(yc<y2){
			cout<<x2-(y2-yc)<<" "<<y2<<" ";
			int xx1=x2,yy1=y2,xx2=x2-(y2-yc),yy2=y2;
			
			if(xx1==xx2){
		if(yy1<yy2){
			cout<<xx2-(yy2-yy1)<<" "<<yy2;
		}
		else{
			cout<<xx2+(yy1-yy2)<<" "<<yy2;
		}
	}
	else if(xx1<xx2){
		if(yy1<yy2){
			cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
		}
		else if(yy1==yy2){
			cout<<xx2<<" "<<yy2+(xx2-xx1);
		}
		else{
			cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
		}
	}
	else{
		if(yy1<yy2){
			cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
		}
		else if(yy1==yy2){
			cout<<xx2<<" "<<yy2-(xx1-xx2);
		}
		else{
			cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
		}
	}
	
		}
		else{
			cout<<x2+(yc-y2)<<" "<<y2<<" ";
			int xx1=x2,yy1=y2,xx2=x2+(yc-y2),yy2=y2;
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
	}
	else if(x1<x2){
		if(yc<y2){
			cout<<x2-(y2-yc)<<" "<<y2+(x2-x1)<<" ";
			int xx1=x2,yy1=y2,xx2=x2-(y2-yc),yy2=y2+(x2-x1);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
		else if(yc==y2){
			cout<<x2<<" "<<y2+(x2-x1)<<" ";
			int xx1=x2,yy1=y2,xx2=x2,yy2=y2+(x2-x1);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
		else{
			cout<<x2+(yc-y2)<<" "<<y2+(x2-x1)<<" ";
			int xx1=x2,yy1=y2,xx2=x2+(yc-y2),yy2=y2+(x2-x1);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
	}
	else{
		if(yc<y2){
			cout<<x2-(y2-yc)<<" "<<y2+(x2-x1)<<" ";
			int xx1=x2,yy1=y2,xx2=x2-(y2-yc),yy2=y2+(x2-x1);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
		else if(yc==y2){
			cout<<x2<<" "<<y2-(x1-x2)<<" ";
			int xx1=x2,yy1=y2,xx2=x2,yy2=y2-(x1-x2);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
		else{
			cout<<x2+(yc-y2)<<" "<<y2-(x1-x2)<<" ";
			int xx1=x2,yy1=y2,xx2=x2+(yc-y2),yy2=y2-(x1-x2);
			if(xx1==xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2;
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2;
				}
			}
			else if(xx1<xx2){
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2+(xx2-xx1);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2+(xx2-xx1);
				}
			}
			else{
				if(yy1<yy2){
					cout<<xx2-(yy2-yy1)<<" "<<yy2+(xx2-xx1);
				}
				else if(yy1==yy2){
					cout<<xx2<<" "<<yy2-(xx1-xx2);
				}
				else{
					cout<<xx2+(yy1-yy2)<<" "<<yy2-(xx1-xx2);
				}
			}
		}
	}
	//system("pause");
	return 0;
}

Measured memory_bytes: 256