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