#include <bits/stdc++.h>
using namespace std;
int V1, V2, V3, Vm;
bool OK(int x) {
  if (Vm <= x && 2 * Vm >= x) {
    return true;
  }
  return false;
}
void solve() {
  int i, j, k;
  for (i = V1; i <= 2 * V1; ++i) {
    int r;
    if (2 * V2 < i)
      r = 2 * V2;
    else
      r = i - 1;
    for (j = V2; j <= r; ++j) {
      int rr;
      if (2 * V3 < j)
        rr = 2 * V3;
      else
        rr = j - 1;
      for (k = V3; k <= rr; ++k) {
        if (!OK(i) && !OK(j) && OK(k)) {
          cout << i << endl;
          cout << j << endl;
          cout << k << endl;
          return;
        }
      }
    }
  }
  cout << -1 << endl;
}
int main(void) {
  cin >> V1 >> V2 >> V3 >> Vm;
  solve();
  return 0;
}
