#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, x2, u1, u2;
  cin >> x1 >> u1 >> x2 >> u2;
  if (x1 == x2) {
    cout << x1 + abs(u1 - u2) << " " << u1 << " " << x2 + abs(u1 - u2) << " "
         << u2 << endl;
    return 0;
  }
  if (u1 == u2) {
    cout << x1 << " " << u1 + abs(x1 - x2) << " " << x2 << " "
         << u2 + abs(x1 - x2) << endl;
    return 0;
  }
  if (abs(x1 - x2) != abs(u1 - u2))
    cout << -1 << endl;
  else
    cout << x1 << " " << u2 << " " << x2 << " " << u1 << endl;
  return 0;
}
