#include <bits/stdc++.h>
int main() {
  int v1, v2, v3, vm;
  scanf("%d%d%d%d", &v1, &v2, &v3, &vm);
  int c1 = v1, c3 = (v3 > vm) ? v3 : vm, c2 = c3 * 2 + 1;
  if (c3 > 2 * vm)
    printf("-1\n");
  else if (c3 > 2 * v3)
    printf("-1\n");
  else if (c2 > 2 * v2)
    printf("-1\n");
  else {
    if (c2 < v2) c2 = v2;
    if (c2 >= c1) c1 = c2 + 1;
    if (c1 > 2 * v1)
      printf("-1\n");
    else
      printf("%d\n%d\n%d\n", c1, c2, c3);
  }
}
