#include <bits/stdc++.h>
using namespace std;
int main() {
  int x0, y0, x, y;
  cin >> x0 >> y0 >> x >> y;
  if (x0 != x && y != y0 && abs(x - x0) != abs(y - y0)) {
    cout << "-1" << endl;
    return 0;
  }
  int dx = abs(y - y0);
  int dy = abs(x0 - x);
  if (x0 == x)
    cout << x0 + dx << " " << y0 << " " << x + dx << " " << y << endl;
  else if (y0 == y)
    cout << x0 << " " << y0 + dy << " " << x << " " << y + dy << endl;
  else
    cout << x0 << " " << y << " " << x << " " << y0 << endl;
  return 0;
}
