#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d, i, k, h;
  scanf("%d %d %d %d", &a, &b, &c, &d);
  for (i = a; i <= 2 * a; i++)
    for (k = b; k <= 2 * b; k++)
      for (h = c; h <= 2 * c; h++)
        if (h < k && k < i && d <= h && h <= 2 * d && 2 * d < k) {
          printf("%d\n%d\n%d", i, k, h);
          return 0;
        }
  printf("-1");
  return 0;
}
