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