#include <bits/stdc++.h>
using namespace std;
int main() {
  int mother, father, little, masha;
  cin >> father >> mother >> little >> masha;
  if (masha > 2 * little)
    cout << -1 << "\n";
  else if (2 * masha < little)
    cout << -1 << "\n";
  else if (masha >= mother)
    cout << -1 << "\n";
  else if (masha >= little)
    cout << father * 2 << "\n" << mother * 2 << "\n" << masha;
  else
    cout << father * 2 << "\n" << mother * 2 << "\n" << little;
  return 0;
}
