#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long int INFL = 0x3f3f3f3f3f3f3f3f;
const double pi = atan(1.0) * 4.0;
const int N = 0;
int main(void) {
  ios_base::sync_with_stdio(false);
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  int ca = 2 * a;
  int cb = 2 * b;
  int cc = min(2 * c, 2 * d);
  if (cc >= c && 2 * c >= cc && cc >= d && 2 * d >= cc && 2 * d < cb) {
    cout << ca << endl;
    cout << cb << endl;
    cout << cc << endl;
  } else
    cout << -1 << endl;
  return 0;
}
