#include <bits/stdc++.h>
using namespace std;
int main() {
  int v_1, v_2, v_3, v_m, m_1, m_2, m_3;
  cin >> v_1 >> v_2 >> v_3 >> v_m;
  if (v_m >= v_2 || v_m < v_2 && v_m > v_3 && 2 * v_3 < v_m ||
      v_m <= v_3 && 2 * v_m < v_3) {
    cout << -1;
    return 0;
  }
  cout << 2 * v_1 << "\n" << 2 * v_2 << "\n";
  if (v_m > v_3) {
    cout << v_m;
  } else
    cout << v_3;
  return 0;
}
