#include <bits/stdc++.h>
int V[10], v, flag;
int main() {
  scanf("%d%d%d%d", &V[1], &V[2], &V[3], &v);
  for (int c1 = V[1]; c1 <= 2 * V[1]; c1++)
    for (int c2 = V[2]; c2 <= 2 * V[2]; c2++)
      for (int c3 = V[3]; c3 <= 2 * V[3]; c3++) {
        if (c1 > c2 && c2 > c3 && c1 > 2 * v && c2 > 2 * v && c3 >= v &&
            2 * v >= c3) {
          printf("%d\n%d\n%d", c1, c2, c3);
          return 0;
        }
      }
  printf("-1");
  return 0;
}
