#include <bits/stdc++.h>
using namespace std;
int main() {
  int v1, v2, v3, vm;
  cin >> v1 >> v2 >> v3 >> vm;
  for (int i = v1; i <= 2 * v1; ++i) {
    for (int j = v2; j <= 2 * v2; ++j) {
      for (int k = v3; k <= 2 * v3; ++k) {
        if (i > j && j > k && vm <= k && 2 * vm >= k && 2 * vm < j &&
            2 * vm < i) {
          cout << i << "\n" << j << "\n" << k;
          return 0;
        }
      }
    }
  }
  cout << -1;
  return 0;
}
