#include <bits/stdc++.h>
const int INF = 1e9 + 7;
const int MAXN = 3e5 + 10;
using namespace std;
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  for (int i = a; i <= 2 * a; i++) {
    for (int j = b; j <= 2 * b; j++) {
      for (int k = c; k <= 2 * c; k++) {
        if (i > j && j > k && d <= i && d <= j && d <= k) {
          if (k <= d + d && j > d + d && i > d + d) {
            cout << i << '\n' << j << '\n' << k;
            return 0;
          }
        }
      }
    }
  }
  cout << -1;
  return 0;
}
