#include <bits/stdc++.h>
using namespace std;
int anss[3];
int main() {
  int V1, V2, V3, Vm, minn, maxx;
  bool ans;
  ans = true;
  scanf("%d%d%d%d", &V1, &V2, &V3, &Vm);
  minn = 0;
  maxx = 99999;
  minn = max(minn, Vm);
  maxx = min(maxx, 2 * Vm);
  minn = max(minn, V3);
  maxx = min(maxx, 2 * V3);
  if (minn > maxx)
    ans = false;
  else {
    anss[2] = minn;
    minn = anss[2] + 1;
    maxx = 99999;
    minn = max(minn, Vm);
    minn = max(minn, 2 * Vm + 1);
    minn = max(minn, V2);
    maxx = min(maxx, 2 * V2);
    if (minn > maxx)
      ans = false;
    else {
      anss[1] = minn;
      minn = anss[1] + 1;
      maxx = 99999;
      minn = max(minn, Vm);
      minn = max(minn, 2 * Vm + 1);
      minn = max(minn, V1);
      maxx = min(maxx, 2 * V1);
      if (minn > maxx)
        ans = false;
      else
        anss[0] = minn;
    }
  }
  if (ans)
    for (int i = 0; i < 3; i++) printf("%d\n", anss[i]);
  else
    printf("-1\n");
  return 0;
}
