#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d, x;
  cin >> a >> b >> c >> d;
  if (d <= 2 * c && d < b && c <= 2 * d) {
    cout << a * 2 << "\n" << b * 2 << "\n";
    x = (c >= d) ? c : d;
    cout << x << endl;
  } else
    cout << "-1";
}
