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