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