#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  bool flag = 0;
  for (int i = a; i <= 2 * a; i++) {
    for (int j = b; j <= 2 * b; j++) {
      for (int k = c; k <= 2 * c; k++) {
        if (i > j && j > k && k >= d && k <= 2 * d && j > 2 * d) {
          cout << i << endl << j << endl << k << endl;
          return 0;
        }
      }
    }
  }
  cout << -1 << endl;
  return 0;
}
