#include <bits/stdc++.h>
using namespace std;
template <typename T>
void $readvec(const vector<T>& vec, int cnt) {
  vec.resize(cnt);
  for (int i = 0; i < cnt; ++i) {
    cin >> vec[i];
  }
}
void $main();
int main() {
  if (0) {
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
  }
  $main();
}
void $main() {
  int V1, V2, V3, VM;
  cin >> V1 >> V2 >> V3 >> VM;
  for (int a = 0; a <= 200; ++a) {
    for (int b = a + 1; b <= 200; ++b) {
      for (int c = b + 1; c <= 200; ++c) {
        if (c < V1 || b < V2 || a < V3) continue;
        if (c > 2 * V1 || b > 2 * V2 || a > 2 * V3) continue;
        if (a < VM) continue;
        if (b <= 2 * VM) continue;
        if (a > 2 * VM) continue;
        cout << c << endl << b << endl << a << endl;
        return;
      }
    }
  }
  cout << -1;
}
