#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
const int inf = 0x3f3f3f3f;
const double eps = 1e-8;
const double pi = acos(-1.0);
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  if (d * 2 >= c && c * 2 >= d && d < b) {
    int x = max(c, d);
    int y = max(x * 2 + 1, b);
    int z = max(y + 1, a);
    cout << z << "\n" << y << "\n" << x << endl;
  } else
    cout << "-1" << endl;
  return 0;
}
