#include <bits/stdc++.h>
using namespace std;
int main() {
  int t = 1;
  while (t--) {
    int temp, side;
    int x[4], y[4];
    cin >> x[0] >> y[0] >> x[1] >> y[1];
    side = x[1] - x[0];
    if (side == 0) {
      side = y[1] - y[0];
      x[2] = x[1] + side;
      x[3] = x[1] + side;
      y[2] = y[0];
      y[3] = y[1];
      cout << x[2] << " " << y[2] << " " << x[3] << " " << y[3];
      return 0;
    } else if (!(y[1] - y[0])) {
      x[2] = x[0];
      x[3] = x[1];
      y[2] = y[0] + side;
      y[3] = y[1] + side;
      cout << x[2] << " " << y[2] << " " << x[3] << " " << y[3];
      return 0;
    } else if (abs(side) == abs(y[1] - y[0])) {
      if (x[0] > x[1]) {
        temp = x[0];
        x[0] = x[1];
        x[1] = temp;
        temp = y[0];
        y[0] = y[1];
        y[1] = temp;
      }
      side = y[1] - y[0];
      x[2] = x[0];
      x[3] = x[1];
      y[2] = y[0] + side;
      y[3] = y[1] - side;
      cout << x[2] << " " << y[2] << " " << x[3] << " " << y[3];
      return 0;
    } else {
      cout << -1;
    }
  }
  return 0;
}
