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