#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, x2, x3, x4, y1, y2, y3, y4;
  cin >> x1 >> y1 >> x2 >> y2;
  bool flag = true;
  if (x1 == x2 && y1 == y2) {
    cout << "-1";
    return 0;
  }
  if (x1 == x2 && y1 != y2) {
    x3 = x1 + (y2 - y1);
    x4 = x2 + (y2 - y1);
    y3 = y1;
    y4 = y2;
    flag = false;
  } else if (y1 == y2 && x1 != x2) {
    x3 = x1;
    x4 = x2;
    y3 = y1 + (x2 - x1);
    y4 = y2 + (x2 - x1);
    flag = false;
  } else if (y1 != y2 && x1 != x2 && (abs(x2 - x1) == abs(y2 - y1))) {
    x3 = x2;
    y3 = y1;
    x4 = x1;
    y4 = y2;
    flag = false;
  }
  if (flag) {
    cout << "-1";
  } else {
    cout << x3 << " " << y3 << " " << x4 << " " << y4;
  }
}
