#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> v(4);
  for (int i = 0; i < 4; i++) {
    cin >> v[i];
  }
  if (v[3] > v[2] * 2) {
    cout << "-1";
    return 0;
  }
  if (v[2] > v[3] * 2) {
    cout << "-1";
    return 0;
  }
  vector<int> s(3);
  for (int i = 0; i < 2; i++) {
    if (v[i] == v[3]) {
      cout << "-1";
      return 0;
    }
    if (v[i] < v[3])
      s[i] = v[i];
    else
      s[i] = v[i] * 2;
  }
  if (v[2] > v[3])
    s[2] = v[2];
  else
    s[2] = v[3];
  for (int i = 0; i < 3; i++) {
    cout << s[i] << endl;
  }
  return 0;
}
