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