#include <bits/stdc++.h>
using namespace std;
int jud(int person, int family) {
  for (int i = 2 * family; i >= family; i--) {
    if (person <= i && 2 * person >= i) return i;
  }
  return 0;
}
int get_in(int person, int family) {
  for (int i = 2 * family; i >= family; i--) {
    if (person <= i && 2 * person < i) {
      return i;
    }
  }
  return 0;
}
int ans[10];
int main() {
  int v[10];
  for (int i = 1; i <= 4; i++) {
    cin >> v[i];
  }
  ans[1] = get_in(v[4], v[1]);
  ans[2] = get_in(v[4], v[2]);
  ans[3] = jud(v[4], v[3]);
  if (ans[1] && ans[2] && ans[3] && ans[1] > ans[2] && ans[2] > ans[3]) {
    cout << ans[1] << endl << ans[2] << endl << ans[3] << endl;
  } else {
    cout << -1 << endl;
  }
}
