#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:5000000000")
const unsigned long long mod = 1000000007;
long long Inf = (long long)2e9;
long long LINF = (long long)1e18 + 1e17;
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++) {
      if (j < i) {
        int x_max = min(j - 1, 2 * c), x_min = c;
        if (2 * d < x_min || d > x_max) continue;
        if (2 * d >= j) continue;
        for (int k = x_min; k <= x_max; k++) {
          if (2 * d >= k && k >= d && 2 * k < j) {
            cout << i << " " << j << " " << k;
            return 0;
          }
        }
      }
    }
  }
  puts("-1");
  return 0;
}
