#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1000000007;
void func() {
  long long int v1, v2, v3, vm;
  cin >> v1 >> v2 >> v3 >> vm;
  for (long long int c3 = v3; c3 <= 2 * v3; c3++) {
    for (long long int c2 = v2; c2 <= 2 * v2; c2++) {
      for (long long int c1 = v1; c1 <= 2 * v1; c1++) {
        if (2 * vm >= c3 and 2 * vm < c2 and vm <= c3 and c3 < c2 and c2 < c1) {
          cout << c1 << '\n' << c2 << '\n' << c3 << '\n';
          return;
        }
      }
    }
  }
  cout << -1;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long int t = 1;
  while (t--) func();
}
