#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int a, b, c, m;
  int flag = 0;
  int c1 = 0, c2 = 0, c3 = 0;
  int t;
  cin >> a >> b >> c >> m;
  t = 0;
  for (int i = min(c, m); i <= 2 * c && i <= 2 * m; i++) {
    if ((m <= i && 2 * m >= i) && (c <= i && 2 * c >= i)) {
      t = 1;
      c3 = i;
      break;
    }
  }
  if (t == 0) {
    flag = 1;
  }
  if (flag == 0) {
    t = 0;
    for (int i = b; i <= 2 * b; i++) {
      if ((m <= i) && (b <= i && 2 * b >= i) && i > c3 && (2 * m < i)) {
        t = 1;
        c2 = i;
        break;
      }
    }
    if (t == 0) {
      flag = 1;
    }
  }
  if (flag == 0) {
    t = 0;
    for (int i = a; i <= 2 * a; i++) {
      if ((m <= i) && (a <= i && 2 * a >= i) && i > c2 && (2 * m < i)) {
        t = 1;
        c1 = i;
        break;
      }
    }
    if (t == 0) {
      flag = 1;
    }
  }
  if (flag == 1) {
    cout << "-1\n";
  } else {
    cout << c1 << '\n' << c2 << '\n' << c3 << '\n';
  }
  return 0;
}
