#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  int e, f, g;
  if (d > 2 * c || 2 * d < c) {
    cout << -1 << endl;
    return 0;
  }
  g = max(d, c);
  f = max(b, 2 * d + 1);
  if (f > 2 * b) {
    cout << -1 << endl;
    return 0;
  }
  e = max(a, f + 1);
  if (e > 2 * a) {
    cout << -1 << endl;
    return 0;
  }
  cout << e << endl;
  cout << f << endl;
  cout << g << endl;
  return 0;
}
