#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long a, b, c, d;
  cin >> c >> b >> a >> d;
  for (long long i = a; i <= 2 * a; i++) {
    for (long long j = max(b, a + 1); j <= 2 * b; j++) {
      for (long long k = max(c, j + 1); k <= 2 * c; k++) {
        if (d <= i && d <= j && d <= k && 2 * d >= i && 2 * d < j &&
            2 * d < k) {
          cout << k << '\n' << j << '\n' << i << '\n';
          return;
        }
      }
    }
  }
  cout << -1;
  return;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1, i = 1;
  while (t--) {
    solve();
  }
  return 0;
}
