#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int x1, y1, x2, y2, x3, y3, x4, y4;
  cin >> x1 >> y1 >> x2 >> y2;
  if (x1 == x2) {
    x3 = x1 + y1 - y2;
    y3 = y1;
    x4 = x3;
    y4 = y2;
    cout << x3 << " " << y3 << " " << x4 << " " << y4;
  } else if (y1 == y2) {
    y3 = y1 + x1 - x2;
    y4 = y3;
    x3 = x1;
    x4 = x2;
    cout << x3 << " " << y3 << " " << x4 << " " << y4;
  } else {
    if (abs(x1 - x2) == abs(y1 - y2)) {
      x4 = x2;
      y4 = y1;
      x3 = x1;
      y3 = y2;
      cout << x3 << " " << y3 << " " << x4 << " " << y4;
    } else
      cout << "-1" << endl;
  }
}
