#include <bits/stdc++.h>
using namespace std;
int a, b, c, d;
int ansa, ansb, ansc;
int read() {
  int x = 0, f = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = x * 10 + c - '0';
    c = getchar();
  }
  return x * f;
}
int main() {
  a = read();
  b = read();
  c = read();
  d = read();
  if (c * 2 < d || d * 2 < c || a <= d || b <= d) {
    printf("-1");
    return 0;
  }
  printf("%d\n%d\n%d", a * 2, b * 2, min(c * 2, d * 2));
  return 0;
}
