#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, y1, x2, y2;
  cin >> x1 >> y1 >> x2 >> y2;
  if (!(x1 == x2 || y1 == y2 || abs(x2 - x1) == abs(y2 - y1))) {
    cout << "-1" << endl;
  } else {
    int x3, y3, x4, y4;
    int side_len;
    if (y1 == y2) {
      side_len = abs(x1 - x2);
      x3 = x1;
      x4 = x2;
      y3 = y1 + side_len;
      y4 = y2 + side_len;
    } else if (x1 == x2) {
      side_len = abs(y1 - y2);
      y3 = y1;
      y4 = y2;
      x3 = x1 + side_len;
      x4 = x2 + side_len;
    } else {
      side_len = abs(x1 - x2);
      x3 = x1;
      x4 = x2;
      if (y1 <= y2) {
        y3 = y1 + side_len;
        y4 = y2 - side_len;
      } else {
        y3 = y1 - side_len;
        y4 = y2 + side_len;
      }
    }
    cout << x3 << " " << y3 << " " << x4 << " " << y4 << endl;
  }
}
