#include <bits/stdc++.h>
using namespace std;
int main() {
  int ok = 0;
  int x1, x2, x3, x4, y1, y2, y3, y4;
  int len;
  scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
  if (x1 == x2) {
    len = abs(y1 - y2);
    x3 = x4 = x1 + len;
    y3 = y1;
    y4 = y2;
    ok = 1;
  } else if (y1 == y2) {
    len = abs(x1 - x2);
    x3 = x1;
    x4 = x2;
    y3 = y4 = y1 - len;
    ok = 1;
  } else if (abs(x1 - x2) == abs(y1 - y2)) {
    x3 = x1;
    y3 = y2;
    x4 = x2;
    y4 = y1;
    ok = 1;
  }
  if (ok)
    printf("%d %d %d %d", x3, y3, x4, y4);
  else
    printf("-1\n");
  return 0;
}
