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