#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int(x0);
  cin >> x0;
  int(y0);
  cin >> y0;
  int(x1);
  cin >> x1;
  int(y1);
  cin >> y1;
  int dy = y1 - y0;
  int dx = x1 - x0;
  if (dy == 0) {
    cout << x0 << " " << (y0 + dx) << " " << x1 << " " << (y1 + dx) << '\n';
    return 0;
  }
  if (dx == 0) {
    cout << (x0 + dy) << " " << y0 << " " << (x1 + dy) << " " << y1 << '\n';
    return 0;
  }
  if (abs(dx) != abs(dy)) {
    cout << "-1" << '\n';
    return 0;
  }
  cout << x1 << " " << y0 << " " << x0 << " " << y1 << '\n';
  return 0;
}
