#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  if (2 * c < d || 2 * d < c || d >= b)
    cout << "-1";
  else {
    cout << 2 * a << endl << 2 * b << endl;
    if (c > d)
      cout << c;
    else
      cout << d;
  }
  return 0;
}
