#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
long long power(long long a, long long b) {
  long long ret = 1;
  while (b) {
    if (b & 1) ret *= a;
    a *= a;
    if (ret >= MOD) ret %= MOD;
    if (a >= MOD) a %= MOD;
    b >>= 1;
  }
  return ret;
}
long long inv(long long x) { return power(x, MOD - 2); }
const int N = 1e5 + 5;
int v1, v2, v3, vm;
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> v1 >> v2 >> v3 >> vm;
  for (int b1 = 0; b1 <= 200; b1++) {
    for (int b2 = 0; b2 <= 200; b2++) {
      for (int b3 = 0; b3 <= 200; b3++) {
        if (b1 > b2 and b2 > b3 and v1 <= b1 and 2 * v1 >= b1 and v2 <= b2 and
            2 * v2 >= b2 and v3 <= b3 and 2 * v3 >= b3 and
            (b3 >= vm and 2 * vm >= b3 and 2 * vm < b2)) {
          cout << b1 << "\n" << b2 << "\n" << b3;
          return 0;
        }
      }
    }
  }
  cout << "-1";
}
