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