#include <bits/stdc++.h>
int main() {
  int x1, x2, y1, y2;
  int d;
  scanf(" %d %d %d %d", &x1, &y1, &x2, &y2);
  if (x1 == x2) {
    if (y2 > y1)
      d = y2 - y1;
    else
      d = y1 - y2;
    if (x1 + d <= 1000 && x1 + d >= -1000) {
      printf("%d %d %d %d", x1 + d, y1, x1 + d, y2);
      return 0;
    }
    if (x1 - d <= 1000 && x1 - d >= -1000) {
      printf("%d %d %d %d", x1 - d, y1, x1 - d, y2);
      return 0;
    }
  }
  if (y1 == y2) {
    if (x1 > x2)
      d = x1 - x2;
    else
      d = x2 - x1;
    if (y1 + d >= -1000 && y1 + d <= 1000) {
      printf("%d %d %d %d", x1, y1 + d, x2, y1 + d);
      return 0;
    }
    if (y1 - d >= -1000 && y1 - d <= 1000) {
      printf("%d %d %d %d", x1, y1 - d, x2, y1 - d);
      return 0;
    }
  }
  if (x1 != x2 && y1 != y2) {
    if (x1 - x2 == y1 - y2) {
      printf("%d %d %d %d", x1, y2, x2, y1);
      return 0;
    }
    if (x1 - x2 == y2 - y1) {
      printf("%d %d %d %d", x1, y2, x2, y1);
      return 0;
    }
  }
  printf("-1");
  return 0;
}
