#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, y1, x2, y2, d;
  cin >> x1 >> y1 >> x2 >> y2;
  if (x1 == x2) {
    d = y2 - y1;
    d = d > 0 ? d : (-d);
    cout << x1 + d << " " << y1 << " " << x2 + d << " " << y2 << endl;
  } else if (y1 == y2) {
    d = x2 - x1;
    d = d > 0 ? d : (-d);
    cout << x1 << " " << y1 + d << " " << x2 << " " << y2 + d << endl;
  } else if (x2 - x1 == y2 - y1) {
    d = x2 - x1;
    if (d > 0)
      cout << x1 << " " << y1 + d << " " << x1 + d << " " << y1 << endl;
    else {
      d = -d;
      cout << x2 << " " << y2 + d << " " << x2 + d << " " << y2 << endl;
    }
  } else if (x2 - x1 == y1 - y2) {
    d = x2 - x1;
    if (d > 0)
      cout << x1 << " " << y1 - d << " " << x1 + d << " " << y1 << endl;
    else {
      d = -d;
      cout << x2 << " " << y2 - d << " " << x2 + d << " " << y2 << endl;
    }
  } else
    cout << "-1" << endl;
  return 0;
}
