#include <bits/stdc++.h>
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long v1, v2, v3, vm;
  cin >> v1 >> v2 >> v3 >> vm;
  if (max(v1, 2 * vm) >= 2 * v1 || max(v2, 2 * vm) >= 2 * v2 ||
      max(v3, vm) > 2 * min(v3, vm))
    cout << "-1";
  else {
    cout << 2 * v1 << "\n";
    cout << 2 * v2 << "\n";
    cout << 2 * min(v3, vm) << "\n";
  }
  return 0;
}
