#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, x2, x3, x4, y1, y2, y3, y4, dx, dy, t = 0;
  cin >> x1 >> y1 >> x2 >> y2;
  dx = x2 - x1;
  dy = y2 - y1;
  if (dx == 0 || dy == 0) {
    x3 = x2 + dy;
    y3 = y2 + dx;
    x4 = x1 + dy;
    y4 = y1 + dx;
    t++;
  } else if (dx == dy || dy == -dx) {
    x3 = x1;
    y3 = y2;
    x4 = x2;
    y4 = y1;
    t++;
  }
  if (t == 0)
    cout << -1;
  else
    cout << x3 << " " << y3 << " " << x4 << " " << y4;
}
