#include <bits/stdc++.h>
bool comp(const int& a, const int& b) { return a < b ? false : true; }
using namespace std;
long long int a[200009];
int main() {
  int side = 0, x1, x2, y1, y2;
  cin >> x1 >> y1 >> x2 >> y2;
  if (abs(y2 - y1) == abs(x2 - x1) || (x2 == x1) || (y2 == y1)) {
    if (abs(y2 - y1) == abs(x2 - x1)) {
      side = y2 - y1;
      if ((y2 - y1) < 0) side = -side;
      cout << x1 << " " << y2 << " " << x2 << " " << y1;
    } else if (x2 == x1) {
      cout << x1 + y2 - y1 << " " << y1 << " " << x1 + (y2 - y1) << " " << y2;
    } else {
      cout << x1 << " " << y1 + x2 - x1 << " " << x2 << " " << y1 + x2 - x1;
    }
  } else
    cout << "-1\n";
  return 0;
}
