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