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