#include <bits/stdc++.h>
int main() {
  int max, a, b, c, d;
  scanf("%d %d %d %d", &a, &b, &c, &d);
  if (d >= b || 2 * d < c || 2 * c < d) {
    printf("-1");
  } else {
    max = c > d ? c : d;
    printf("%d\n%d\n%d", 2 * a, 2 * b, max);
  }
  return 0;
}
