#include <bits/stdc++.h>
using namespace std;
int main() {
  int v[10];
  cin >> v[1] >> v[2] >> v[3] >> v[4];
  if (v[1] <= v[4] || v[2] <= v[4] || v[4] > 2 * v[3] || 2 * v[4] < v[3]) {
    cout << -1 << endl;
  } else {
    cout << 2 * v[1] << endl << 2 * v[2] << endl << max(v[4], v[3]) << endl;
  }
}
