#include <bits/stdc++.h>
using namespace std;
int main() {
  int a1, a2, a3, a4;
  cin >> a1 >> a2 >> a3 >> a4;
  int mnS = max(a4, a3);
  int mxS = min(a4, a3) * 2;
  int mnM = max(2 * a4 + 1, a2);
  int mxM = 2 * a2;
  int mnL = max(2 * a4 + 1, a1);
  int mxL = 2 * a1;
  if (mxM >= mnS + 1 && mxL >= mnM + 1 && mnS <= mxS && mnM <= mxM &&
      mnL <= mxL) {
    cout << mxL << '\n' << mnM << '\n' << mnS;
  } else
    cout << -1;
  return 0;
}
