#include <bits/stdc++.h>
using namespace std;
int a, b, c, m;
bool e = true;
int main() {
  cin >> a >> b >> c >> m;
  if (m >= a) e = false;
  if (m >= b) e = false;
  if (m > c) {
    if (m > 2 * c)
      e = false;
    else
      c = m;
  }
  if (m < c) {
    if (c > 2 * m) e = false;
  }
  if (e == true) {
    cout << 2 * a << endl << 2 * b << endl << c;
  }
  if (e == false) cout << "-1";
  return 0;
}
