#include <bits/stdc++.h>
using namespace std;
const long long inf = 1e9;
const long long inf64 = 1e18;
const long long MOD = inf + 7;
const long double PI = acos(-1.0);
int32_t main() {
  ios::sync_with_stdio(false), cin.tie(nullptr);
  ;
  long long a, b, c, d;
  cin >> a >> b >> c >> d;
  for (long long i = c; i <= 2 * c; i++) {
    if (d <= i && 2 * d >= i && b > i) {
      cout << 2 * a << endl << 2 * b << endl << i;
      return 0;
    }
  }
  cout << -1;
}
