#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int a, b, c, d;
  cin >> a >> b >> c >> d;
  a *= 2;
  b *= 2;
  if (2 * d >= a || 2 * d >= b || 2 * c < d || 2 * d < c) {
    cout << -1 << endl;
    return 0;
  } else {
    cout << a << endl;
    cout << b << endl;
    long long int temp = min(c, d);
    cout << 2 * temp << endl;
  }
  return 0;
}
